Class PlayerIsWearingOutfitCondition

java.lang.Object
games.stendhal.server.entity.npc.condition.PlayerIsWearingOutfitCondition
All Implemented Interfaces:
ChatCondition, PreTransitionCondition

@Dev(category=OUTFIT, label="Outfit?") public class PlayerIsWearingOutfitCondition extends Object implements ChatCondition
Does the player wear (at least a part of) the specified outfit?
Author:
jackrabbit
  • Constructor Details

    • PlayerIsWearingOutfitCondition

      public PlayerIsWearingOutfitCondition(Outfit outfit)
      Creates a new PlayerIsWearingOutfitCondition
      Parameters:
      outfit - an outfit to be checked if it is worn by the player
  • Method Details