Class SurroundVehicle

java.lang.Object
zombie.vehicles.SurroundVehicle

public final class SurroundVehicle
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    float x1  
    float x2  
    float x3  
    float x4  
    float y1  
    float y2  
    float y3  
    float y4  
  • Constructor Summary

    Constructors
    Constructor Description
    SurroundVehicle​(BaseVehicle baseVehicle)  
  • Method Summary

    Modifier and Type Method Description
    Vector2f getPositionForZombie​(IsoZombie zombie, Vector2f vector2f)  
    void render()  
    void reset()  
    void update()  

    Methods inherited from class java.lang.Object

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

    • 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
  • Constructor Details

    • SurroundVehicle

      public SurroundVehicle​(BaseVehicle baseVehicle)
  • Method Details

    • getPositionForZombie

      public Vector2f getPositionForZombie​(IsoZombie zombie, Vector2f vector2f)
    • update

      public void update()
    • render

      public void render()
    • reset

      public void reset()