Class EatStatusTurnListener

java.lang.Object
games.stendhal.server.entity.status.EatStatusTurnListener
All Implemented Interfaces:
TurnListener

public class EatStatusTurnListener extends Object implements TurnListener
eating turn listener
  • Constructor Details

    • EatStatusTurnListener

      public EatStatusTurnListener(StatusList statusList)
      EatStatusTurnListener
      Parameters:
      statusList - StatusList
  • Method Details

    • onTurnReached

      public void onTurnReached(int turn)
      Description copied from interface: TurnListener
      This method is called when the turn number is reached.
      Specified by:
      onTurnReached in interface TurnListener
      Parameters:
      turn - current turn number
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object