Class RoomDef.RoomRect

java.lang.Object
zombie.iso.RoomDef.RoomRect
Enclosing class:
RoomDef

public static final class RoomDef.RoomRect extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
     
    int
     
    int
     
    int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RoomRect(int _x, int _y, int _w, int _h)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contains(float float1, float float0)
     
    float
    getClosestPoint(float float0, float float1, org.joml.Vector2f vector2f)
     
    int
     
    int
     
    int
     
    int
     
    int
     
    int
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public int x
    • y

      public int y
    • w

      public int w
    • h

      public int h
  • Constructor Details

    • RoomRect

      public RoomRect(int _x, int _y, int _w, int _h)
  • Method Details

    • getX

      public int getX()
    • getY

      public int getY()
    • getX2

      public int getX2()
    • getY2

      public int getY2()
    • getW

      public int getW()
    • getH

      public int getH()
    • contains

      public boolean contains(float float1, float float0)
    • getClosestPoint

      public float getClosestPoint(float float0, float float1, org.joml.Vector2f vector2f)