Package zombie.iso
Class IsoWaterFlow
java.lang.Object
zombie.iso.IsoWaterFlow
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addFlow
(float x, float y, float flow, float speed) static void
addZone
(float x1, float y1, float x2, float y2, float shore, float water_ground) static org.joml.Vector2f
getFlow
(IsoGridSquare square, int ax, int ay, org.joml.Vector2f out) static int
getShore
(int x, int y) static void
Reset()
-
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 water_ground) -
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()
-