Class BarrierHealthGate

All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable

public class BarrierHealthGate extends GateBarrier
  • Field Details

    • moreThanHalf

      public boolean moreThanHalf
  • Method Details

    • 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
    • getPrestigeScore

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

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

      public boolean canEnemyPass(EnemyType enemy)
      Specified by:
      canEnemyPass in class GateBarrier
    • 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.SpriteCache spriteCache, int x, int y)
      Specified by:
      drawStatic in class Gate
    • drawBatch

      public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime, int x, int y)
      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