Class DisorientedUnit

All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable

public final class DisorientedUnit extends Unit
  • Field Details

    • coinsPerTilePassed

      public float coinsPerTilePassed
    • maxSumCoins

      public int maxSumCoins
  • 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 Unit
    • 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 Unit
    • setup

      public void setup(Tower tower, EnemyType enemyType, float health, float maxHealth)
    • drawBatch

      public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime)
      Specified by:
      drawBatch in class Unit
    • setCoinsPerTilePassed

      public void setCoinsPerTilePassed(float coinsPerTilePassed, int maxSumCoins)
    • update

      public void update(float deltaTime)
      Overrides:
      update in class Unit