mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-18 02:06:43 +00:00
Small cleanup
This commit is contained in:
parent
3c16bd3f30
commit
2aeca6c9ce
@ -13,6 +13,7 @@ import net.simon987.server.game.objects.Radioactive;
|
|||||||
|
|
||||||
public class RadiationDetector extends HardwareModule {
|
public class RadiationDetector extends HardwareModule {
|
||||||
|
|
||||||
|
// NEEDS TO BE CHANGED
|
||||||
// Need to change to whatever the last unique address is
|
// Need to change to whatever the last unique address is
|
||||||
public static final int DEFAULT_ADDRESS = 0x010F;
|
public static final int DEFAULT_ADDRESS = 0x010F;
|
||||||
|
|
||||||
@ -21,11 +22,6 @@ public class RadiationDetector extends HardwareModule {
|
|||||||
*/
|
*/
|
||||||
public static final char HWID = 0x010F;
|
public static final char HWID = 0x010F;
|
||||||
|
|
||||||
/**
|
|
||||||
* Radiation detected by cubot
|
|
||||||
*/
|
|
||||||
private double currentRadiation = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper class for getTiles
|
* Helper class for getTiles
|
||||||
*/
|
*/
|
||||||
@ -119,16 +115,10 @@ public class RadiationDetector extends HardwareModule {
|
|||||||
|
|
||||||
public RadiationDetector(ControllableUnit unit) {
|
public RadiationDetector(ControllableUnit unit) {
|
||||||
super(null, unit);
|
super(null, unit);
|
||||||
|
|
||||||
// Set default values
|
|
||||||
currentRadiation = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public RadiationDetector(Document document, ControllableUnit cubot) {
|
public RadiationDetector(Document document, ControllableUnit cubot) {
|
||||||
super(document, cubot);
|
super(document, cubot);
|
||||||
|
|
||||||
// Set default values
|
|
||||||
currentRadiation = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user