Class PoisonStatusTurnListener

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

public class PoisonStatusTurnListener extends Object implements TurnListener
poison turn listener
  • Constructor Details

    • PoisonStatusTurnListener

      public PoisonStatusTurnListener(StatusList statusList)
      PoisonStatusTurnListener
      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