Class IceFieldUnit

All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable

public final class IceFieldUnit extends Unit
  • Field Details

    • lifetimeLeft

      public float lifetimeLeft
    • touchesLeft

      public int touchesLeft
    • affectedEnemies

      public com.badlogic.gdx.utils.ObjectSet<Enemy.EnemyReference> affectedEnemies
  • 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(float x, float y, float lifetime, int maxTouches)
    • drawBatch

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

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