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 TypeFieldDescriptionint
static final com.badlogic.gdx.graphics.Color[]
static final String[]
static final int
static final int
static final String
Fields inherited from class com.prineside.tdi2.Gate
highlightParticleA, highlightParticleB, THICKNESS
Fields inherited from class com.prineside.tdi2.Registrable
S
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSellItems
(com.badlogic.gdx.utils.Array<ItemStack> toStacks) void
drawBatch
(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime, float x, float y, float width, float height) void
drawStatic
(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float width, float height) void
fillMapEditorMenu
(com.badlogic.gdx.scenes.scene2d.ui.Table container, MapEditorItemInfoMenu menu) com.badlogic.gdx.scenes.scene2d.Actor
generateIcon
(float size, boolean detailed) double
int
getSortingScore
(ItemSortingType sortingType) void
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) boolean
void
void
toJson
(com.badlogic.gdx.utils.Json json) toString()
void
write
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) Methods inherited from class com.prineside.tdi2.Gate
getBoundingBox, getType, getX, getY, isLeftSide, setPosition
Methods 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:
addSellItems
in classGate
-
fillMapEditorMenu
public void fillMapEditorMenu(com.badlogic.gdx.scenes.scene2d.ui.Table container, MapEditorItemInfoMenu menu) - Overrides:
fillMapEditorMenu
in classGate
-
getPrestigeScore
public double getPrestigeScore()- Specified by:
getPrestigeScore
in classGate
- Returns:
- кол-во очков престижа за продажу. Если 0 или меньше, не будет продан
-
getSortingScore
- Specified by:
getSortingScore
in classGate
-
setUnregistered
public void setUnregistered()- Overrides:
setUnregistered
in classRegistrable
-
generateIcon
public com.badlogic.gdx.scenes.scene2d.Actor generateIcon(float size, boolean detailed) - Specified by:
generateIcon
in classGate
-
drawStatic
public void drawStatic(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float width, float height) - Specified by:
drawStatic
in 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
-