Feature/refactoring (#79)

* Added some localization

* Added some localization

* Some refactoring
This commit is contained in:
Alexander Kornilov authored and mezz committed 2017-05-29 11:31:06 -07:00
1 parent 1ea7b62e5f
commit 618b291015
60 files changed
+261 -166

No files matched your search

@@ -45,11 +45,11 @@ public class WindowPolymeriser extends WindowMachine {
new ControlSlotArray(this, x, y, 1, 4).create(Polymeriser.SLOT_SERUM_RESERVE);
new ControlIconDisplay(this, x + 18, y + 1, GUIIcon.ArrowRight.getIcon());
x += 34;
new ControlMachineProgress(this, x + 18, y - 6, WindowPolymeriser.ProgressBase, WindowPolymeriser.Progress, Position.Left);
new ControlMachineProgress(this, x + 18, y - 6, WindowPolymeriser.ProgressBase, WindowPolymeriser.Progress, Position.LEFT);
new ControlSlot(this, x, y).assign(0);
new ControlLiquidTank(this, x, y + 18 + 16, true).setTankID(0);
new ControlLiquidTank(this, x, y + 18 + 16 + 18 + 8, true).setTankID(1);
new ControlEnergyBar(this, x + 120, 96, 64, 16, Position.Left);
new ControlEnergyBar(this, x + 120, 96, 64, 16, Position.LEFT);
x += 40;
new ControlSlot(this, x + 30, y + 18 + 8).assign(1);
new ControlSlotCharge(this, x + 30 + 20, y + 18 + 8, 1).setColor(16766976);