Class OutfitChangerBehaviour.ExpireOutfit

java.lang.Object
games.stendhal.server.entity.npc.behaviour.impl.OutfitChangerBehaviour.ExpireOutfit
All Implemented Interfaces:
TurnListener
Enclosing class:
OutfitChangerBehaviour

public static class OutfitChangerBehaviour.ExpireOutfit extends Object implements TurnListener
removes the special outfit after it outwore.
  • Constructor Details

    • ExpireOutfit

      public ExpireOutfit(String playerName)
      creates a OutwearClothes turn listener
      Parameters:
      playerName - of player
  • Method Details

    • equals

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

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

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