Class IsoWaterFlow
java.lang.Object
zombie.iso.IsoWaterFlow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddFlow(float x, float y, float flow, float speed) static voidaddZone(float x1, float y1, float x2, float y2, float shore, float waterGround) static org.joml.Vector2fgetFlow(IsoGridSquare square, int ax, int ay, org.joml.Vector2f out) static intgetShore(int x, int y) static voidReset()
-
Constructor Details
-
IsoWaterFlow
public IsoWaterFlow()
-
-
Method Details
-
addFlow
public static void addFlow(float x, float y, float flow, float speed) -
addZone
public static void addZone(float x1, float y1, float x2, float y2, float shore, float waterGround) -
getShore
public static int getShore(int x, int y) -
getFlow
public static org.joml.Vector2f getFlow(IsoGridSquare square, int ax, int ay, org.joml.Vector2f out) -
Reset
public static void Reset()
-