Interface WallObject

  • All Superinterfaces:
    TileObject

    public interface WallObject
    extends TileObject
    Represents one or two walls on a tile
    • Method Detail

      • getOrientationA

        int getOrientationA()
        A bitfield with the orientation of a wall 1 = East 2 = North 4 = West 8 = South
      • getOrientationB

        int getOrientationB()
        A bitfield containing the orientation of the second wall on this tile, or 0 if there is no second wall.
        See Also:
        getOrientationA()
      • getConfig

        int getConfig()
        A bitfield containing various flags:
        
         object type id = bits & 0x20
         orientation (0-3) = bits >>> 6 & 3
         supports items = bits >>> 8 & 1
         
      • getConvexHull

        Shape getConvexHull()
        Gets the convex hull of the objects model.
        Returns:
        the convex hull
        See Also:
        Jarvis
      • getConvexHull2

        Shape getConvexHull2()