Class BuildingChanger

  • All Implemented Interfaces:
    Tickable

    public class BuildingChanger
    extends StaticEntity
    An area that will trigger a change in the player's location and floor within a building
    • Field Detail

      • width

        public int width
      • height

        public int height
      • jumpNumber

        public int jumpNumber
      • action

        public byte action
      • JUMP

        public static final byte JUMP
        Same as up or down, but doesn't mean the change is directly the floor above or below
        See Also:
        Constant Field Values
    • Constructor Detail

      • BuildingChanger

        public BuildingChanger​(byte action,
                               int x,
                               int y,
                               int width,
                               int height)
      • BuildingChanger

        public BuildingChanger​(byte action,
                               int jumpNumber,
                               int x,
                               int y,
                               int width,
                               int height)