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 the first wall 1 = West 2 = North 4 = East 8 = South 16 = North-west 32 = North-east 64 = South-east 128 = South-west
      • getOrientationB

        int getOrientationB()
        A bitfield with the orientation of the second wall 1 = West 2 = North 4 = East 8 = South 16 = North-west 32 = North-east 64 = South-east 128 = South-west
      • 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

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

        java.awt.Shape getConvexHull2()