Tiered Logistical Transporters

This commit is contained in:
Aidan C. Brady committed 2015-03-31 11:39:10 -04:00
1 parent 1a46bb5201
commit a5db67e2b7
26 files changed
+128 -35

No files matched your search

+29
View File
@@ -247,4 +247,33 @@ public final class Tier
}
}
}
/**
* The tiers used by Logistical Transporters and their corresponding values.
* @author AidanBrady
*
*/
public static enum TransporterTier
{
BASIC(1, 5, TransmitterType.LOGISTICAL_TRANSPORTER_BASIC),
ADVANCED(16, 10, TransmitterType.LOGISTICAL_TRANSPORTER_ADVANCED),
ELITE(32, 20, TransmitterType.LOGISTICAL_TRANSPORTER_ELITE),
ULTIMATE(64, 50, TransmitterType.LOGISTICAL_TRANSPORTER_ULTIMATE);
public BaseTier getBaseTier()
{
return BaseTier.values()[ordinal()];
}
public int pullAmount;
public int speed;
public TransmitterType type;
private TransporterTier(int pull, int s, TransmitterType transmitterType)
{
pullAmount = pull;
speed = s;
type = transmitterType;
}
}
}