Package com.prineside.tdi2.gates
Class BarrierTypeGate
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Gate
com.prineside.tdi2.GateBarrier
com.prineside.tdi2.gates.BarrierTypeGate
- 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
Fields 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) voidfillMapEditorMenu(Table container, MapEditorItemInfoMenu menu) generateIcon(float size, boolean withShadow) intdoubleintgetSortingScore(ItemSortingType sortingType) booleanisEnemyBlocked(EnemyType enemyType) voidbooleanvoidsetEnemyBlocked(EnemyType enemyType, boolean blocked) voidtoString()voidMethods inherited from class com.prineside.tdi2.Gate
drawBatch, getBoundingBox, getType, getX, getY, isLeftSide, setPositionMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered, setUnregistered
-
Method Details
-
write
- Specified by:
writein interfaceKryoSerializable- Overrides:
writein classGate
-
read
- Specified by:
readin interfaceKryoSerializable- Overrides:
readin classGate
-
getRarity
-
fillMapEditorMenu
- Overrides:
fillMapEditorMenuin classGate
-
cloneGate
-
getBlockedEnemyTypeCount
public int getBlockedEnemyTypeCount() -
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
-
isEnemyBlocked
-
setEnemyBlocked
-
generateIcon
- Specified by:
generateIconin classGate
-
drawStatic
- Specified by:
drawStaticin classGate
-
sameAs
-
toString
-
toJson
-