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:
com.esotericsoftware.kryo.KryoSerializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.prineside.tdi2.Gate
Gate.Factory<T extends Gate>, Gate.Side -
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(com.badlogic.gdx.utils.Array<ItemStack> toStacks) booleancanEnemyPass(Enemy enemy) voiddrawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime, int x, int y) voiddrawStatic(com.badlogic.gdx.graphics.g2d.SpriteCache spriteCache, int x, int y) com.badlogic.gdx.scenes.scene2d.ActorgenerateIcon(float size, boolean detailed) doubleintgetSortingScore(ItemSortingType sortingType) booleanvoidtoJson(com.badlogic.gdx.utils.Json json) toString()Methods inherited from class com.prineside.tdi2.Gate
getSide, getType, getX, getY, 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:
- кол-во очков престижа за продажу. Если 0 или меньше, не будет продан
-
getSortingScore
- Specified by:
getSortingScorein classGate
-
canEnemyPass
- Specified by:
canEnemyPassin classGateBarrier
-
generateIcon
public com.badlogic.gdx.scenes.scene2d.Actor generateIcon(float size, boolean detailed) - Specified by:
generateIconin classGate
-
drawStatic
public void drawStatic(com.badlogic.gdx.graphics.g2d.SpriteCache spriteCache, int x, int y) - Specified by:
drawStaticin classGate
-
drawBatch
public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime, int x, int y) -
sameAs
-
toJson
public void toJson(com.badlogic.gdx.utils.Json json) -
toString
-