Class LandscapeObject


  • public class LandscapeObject
    extends java.lang.Object
    • Constructor Detail

      • LandscapeObject

        public LandscapeObject​(int id,
                               java.lang.String name,
                               int regionX,
                               int regionY,
                               int mapX,
                               int mapY,
                               int floor,
                               int width,
                               int height,
                               int shape,
                               int collisionType,
                               int orientation,
                               boolean impassable,
                               boolean impenetrable,
                               java.util.List<java.lang.String> actions)
    • Method Detail

      • id

        public int id()
      • name

        public java.lang.String name()
      • transformed

        public boolean transformed()
      • transformations

        public java.util.List<LandscapeObject> transformations()
      • transformations

        public void transformations​(java.util.List<LandscapeObject> transformations)
      • transformable

        public boolean transformable()
      • regionX

        public int regionX()
      • regionY

        public int regionY()
      • mapX

        public int mapX()
      • mapY

        public int mapY()
      • originalFloor

        public int originalFloor()
      • floor

        public int floor()
      • floor

        public void floor​(int floor)
      • width

        public int width()
      • height

        public int height()
      • specializedType

        public int specializedType()
      • orientation

        public int orientation()
      • actions

        public java.util.List<java.lang.String> actions()
      • hashCode

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • impassable

        public boolean impassable()
      • impenetrable

        public boolean impenetrable()
      • getCollisionType

        public int getCollisionType()