Interface Zombie

All Superinterfaces:
ActiveEntities, Entities
All Known Implementing Classes:
ZombieImpl

public interface Zombie extends ActiveEntities
This interface models a Zombie Entity.
  • Method Details

    • moveLeft

      void moveLeft()
      Moves Zombie to the left.
    • setCanGo

      void setCanGo(boolean canGo)
      Sets the boolean based on whether the Zombie can move or not.
      Parameters:
      canGo - true if Zombie can move, false otherwise.
    • isCanGo

      boolean isCanGo()
      Returns:
      boolean canGo, which tells us if Zombie can move or not.