Package com.prineside.tdi2.gates
Class TeleportGate
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Gate
com.prineside.tdi2.gates.TeleportGate
- 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.Pos -
Field Summary
FieldsModifier and TypeFieldDescriptionintstatic final com.badlogic.gdx.graphics.Color[]static final String[]static final intstatic final intstatic final StringFields 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) voiddrawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime, float x, float y, float width, float height) voiddrawStatic(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float width, float height) voidfillMapEditorMenu(com.badlogic.gdx.scenes.scene2d.ui.Table container, MapEditorItemInfoMenu menu) com.badlogic.gdx.scenes.scene2d.ActorgenerateIcon(float size, boolean detailed) doubleintgetSortingScore(ItemSortingType sortingType) voidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) booleanvoidvoidtoJson(com.badlogic.gdx.utils.Json json) toString()voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) Methods inherited from class com.prineside.tdi2.Gate
getBoundingBox, getType, getX, getY, isLeftSide, setPositionMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered
-
Field Details
-
TAG
- See Also:
-
INDEX_COLORS
public static final com.badlogic.gdx.graphics.Color[] INDEX_COLORS -
INDEX_NAMES
-
MAX_INDEX
public static final int MAX_INDEX -
MAX_INDEX_FOR_LOOT
public static final int MAX_INDEX_FOR_LOOT- See Also:
-
index
public int index
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) -
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) -
getRarity
-
cloneGate
-
addSellItems
- Overrides:
addSellItemsin classGate
-
fillMapEditorMenu
public void fillMapEditorMenu(com.badlogic.gdx.scenes.scene2d.ui.Table container, MapEditorItemInfoMenu menu) - Overrides:
fillMapEditorMenuin classGate
-
getPrestigeScore
public double getPrestigeScore()- Specified by:
getPrestigeScorein classGate- Returns:
- кол-во очков престижа за продажу. Если 0 или меньше, не будет продан
-
getSortingScore
- Specified by:
getSortingScorein classGate
-
setUnregistered
public void setUnregistered()- Overrides:
setUnregisteredin classRegistrable
-
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.Batch batch, float x, float y, float width, float height) - Specified by:
drawStaticin classGate
-
drawBatch
public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime, float x, float y, float width, float height) -
sameAs
-
toJson
public void toJson(com.badlogic.gdx.utils.Json json) -
toString
-