Class ActionData

java.lang.Object
games.stendhal.server.actions.validator.ActionData

public class ActionData extends Object
data used by actions
Author:
hendrik
  • Constructor Details

    • ActionData

      public ActionData()
  • Method Details

    • getEntity

      public Entity getEntity()
      gets entity
      Returns:
      the entity
    • getSlot

      public Slot getSlot()
      gets slot
      Returns:
      the slot
    • setEntity

      protected void setEntity(Entity entity)
      sets entity
      Parameters:
      entity - the entity to set
    • setSlot

      protected void setSlot(Slot slot)
      sets slot
      Parameters:
      slot - the slot to set
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object