Package com.prineside.tdi2.gates
Class BarrierHealthGate
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Gate
com.prineside.tdi2.GateBarrier
com.prineside.tdi2.gates.BarrierHealthGate
- All Implemented Interfaces:
KryoSerializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.prineside.tdi2.Gate
Gate.Factory<T extends Gate>, Gate.Pos -
Field Summary
FieldsFields inherited from class com.prineside.tdi2.Gate
highlightParticleA, highlightParticleB, THICKNESSFields inherited from class com.prineside.tdi2.Registrable
S -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSellItems(Array<ItemStack> toStacks) booleancanEnemyPass(EnemyType enemy) voiddrawStatic(Batch batch, float x, float y, float width, float height) generateIcon(float size, boolean detailed) doubleintgetSortingScore(ItemSortingType sortingType) booleanvoidtoString()Methods inherited from class com.prineside.tdi2.Gate
drawBatch, fillMapEditorMenu, getBoundingBox, getType, getX, getY, isLeftSide, read, setPosition, writeMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered, setUnregistered
-
Field Details
-
moreThanHalf
public boolean moreThanHalf
-
-
Method Details
-
getRarity
-
cloneGate
-
addSellItems
- Overrides:
addSellItemsin classGate
-
getPrestigeScore
public double getPrestigeScore()- Specified by:
getPrestigeScorein classGate- Returns:
- amount of prestige points for selling it. If value is <= 0, it won't be sold
-
getSortingScore
- Specified by:
getSortingScorein classGate
-
canEnemyPass
- Specified by:
canEnemyPassin classGateBarrier
-
generateIcon
- Specified by:
generateIconin classGate
-
drawStatic
- Specified by:
drawStaticin classGate
-
sameAs
-
toJson
-
toString
-