Package com.deco2800.game.utils.math
Class RandomUtils
java.lang.Object
com.deco2800.game.utils.math.RandomUtils
public class RandomUtils
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description static GridPoint2
random(GridPoint2 start, GridPoint2 end)
static Vector2
random(Vector2 start, Vector2 end)
static GridPoint2
randomX(int y, GridPoint2 start, GridPoint2 end)
Used to randomly generate entities at a specific height.