Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
IUDevman committed Mar 3, 2021
1 parent 32a3df2 commit e449f8a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/gamesense/client/module/ModuleManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ public static void init() {
addMod(new ArmorHUD());
addMod(new ArrayListModule());
addMod(new CombatInfo());
addMod(new CoordinateHud());
addMod(new Coordinates());
addMod(new InventoryViewer());
addMod(new Notifications());
addMod(new PotionEffects());
addMod(new Radar());
addMod(new SpeedHud());
addMod(new Speedometer());
addMod(new TabGUIModule());
addMod(new TargetHUD());
addMod(new TargetInfo());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@

import java.awt.*;

public class CoordinateHud extends HUDModule {
public class Coordinates extends HUDModule {
private Setting.Boolean showNetherOverworld;
private Setting.Boolean thousandsSeparator;
private Setting.Integer decimalPlaces;

private final String[] coordinateString = {"", ""};

public CoordinateHud() {
super("CoordinateHud", new Point(0, 0));
public Coordinates() {
super("Coordinates", new Point(0, 0));
}

@Override
public void setup() {
showNetherOverworld = registerBoolean("Show Nether/Overworld", true);
showNetherOverworld = registerBoolean("Show Nether", true);
thousandsSeparator = registerBoolean("Thousands Separator", true);
decimalPlaces = registerInteger("Decimal Places", 1, 0, 5);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.util.Arrays;
import java.util.Collection;

public class SpeedHud extends HUDModule {
public class Speedometer extends HUDModule {

private static final String MPS = "m/s";
private static final String KMH = "km/h";
Expand All @@ -28,13 +28,13 @@ public class SpeedHud extends HUDModule {
private final ArrayDeque<Double> speedDeque = new ArrayDeque<>();
private String speedString = "";

public SpeedHud() {
super("SpeedHud", new Point(69, 69));
public Speedometer() {
super("Speedometer", new Point(69, 69));
}

@Override
public void setup() {
speedUnit = registerMode("Speed Unit", Arrays.asList(MPS, KMH, MPH), KMH);
speedUnit = registerMode("Unit", Arrays.asList(MPS, KMH, MPH), KMH);
averageSpeed = registerBoolean("Average Speed", true);
averageSpeedTicks = registerInteger("Average Time", 20, 5, 100);
}
Expand Down

0 comments on commit e449f8a

Please sign in to comment.