Class TeleportGate

All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable

public class TeleportGate extends Gate
  • Field Details

    • TAG

      public static final String TAG
      See Also:
    • INDEX_COLORS

      public static final com.badlogic.gdx.graphics.Color[] INDEX_COLORS
    • INDEX_NAMES

      public static final String[] 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)
      Specified by:
      write in interface com.esotericsoftware.kryo.KryoSerializable
      Overrides:
      write in class Gate
    • read

      public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input)
      Specified by:
      read in interface com.esotericsoftware.kryo.KryoSerializable
      Overrides:
      read in class Gate
    • getRarity

      public RarityType getRarity()
      Specified by:
      getRarity in class Gate
    • cloneGate

      public Gate cloneGate()
      Specified by:
      cloneGate in class Gate
    • addSellItems

      public void addSellItems(com.badlogic.gdx.utils.Array<ItemStack> toStacks)
      Overrides:
      addSellItems in class Gate
    • fillMapEditorMenu

      public void fillMapEditorMenu(com.badlogic.gdx.scenes.scene2d.ui.Table container, MapEditorItemInfoMenu menu)
      Overrides:
      fillMapEditorMenu in class Gate
    • getPrestigeScore

      public double getPrestigeScore()
      Specified by:
      getPrestigeScore in class Gate
      Returns:
      кол-во очков престижа за продажу. Если 0 или меньше, не будет продан
    • getSortingScore

      public int getSortingScore(ItemSortingType sortingType)
      Specified by:
      getSortingScore in class Gate
    • setUnregistered

      public void setUnregistered()
      Overrides:
      setUnregistered in class Registrable
    • generateIcon

      public com.badlogic.gdx.scenes.scene2d.Actor generateIcon(float size, boolean detailed)
      Specified by:
      generateIcon in class Gate
    • drawStatic

      public void drawStatic(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float width, float height)
      Specified by:
      drawStatic in class Gate
    • drawBatch

      public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime, float x, float y, float width, float height)
      Overrides:
      drawBatch in class Gate
    • sameAs

      public boolean sameAs(Gate gate)
      Overrides:
      sameAs in class Gate
    • toJson

      public void toJson(com.badlogic.gdx.utils.Json json)
      Overrides:
      toJson in class Gate
    • toString

      public String toString()
      Overrides:
      toString in class Object