Class PolygonalMap2.VehiclePoly

java.lang.Object
zombie.vehicles.PolygonalMap2.VehiclePoly
Enclosing class:
PolygonalMap2

public static final class PolygonalMap2.VehiclePoly
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    Vector2[] borders  
    Transform t  
    float x1  
    float x2  
    float x3  
    float x4  
    float y1  
    float y2  
    float y3  
    float y4  
    float z  
  • Method Summary

    Modifier and Type Method Description
    boolean containsPoint​(float float1, float float2)  
    static Vector2 lineIntersection​(Vector2 vector2, Vector2 vector22, Vector2 vector23, Vector2 vector24)  

    Methods inherited from class java.lang.Object

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

    • t

      public Transform t
    • x1

      public float x1
    • y1

      public float y1
    • x2

      public float x2
    • y2

      public float y2
    • x3

      public float x3
    • y3

      public float y3
    • x4

      public float x4
    • y4

      public float y4
    • z

      public float z
    • borders

      public final Vector2[] borders
  • Method Details

    • lineIntersection

      public static Vector2 lineIntersection​(Vector2 vector2, Vector2 vector22, Vector2 vector23, Vector2 vector24)
    • containsPoint

      public boolean containsPoint​(float float1, float float2)