Class UseableEntity

All Implemented Interfaces:
UseListener, Killer, Cloneable, Iterable<String>, Serializable
Direct Known Subclasses:
NineSwitchesGameSwitch, PlayerActivityEntity, PlaySoundEntity, ViewChangeEntity

public abstract class UseableEntity extends Entity implements UseListener
an entity that can be placed on the map and will allow the client to "use" it. It support animations and multiple states for the sprites.
Author:
hendrik
  • Constructor Details

    • UseableEntity

      public UseableEntity()
      creates a new UseableEntity
  • Method Details

    • generateRPClass

      public static void generateRPClass()
    • getState

      public int getState()
      gets the current state
      Returns:
      current state
    • setState

      public void setState(int state)
      sets the state
      Parameters:
      state - new state