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 GridPoint2random(GridPoint2 start, GridPoint2 end)static Vector2random(Vector2 start, Vector2 end)static GridPoint2randomX(int y, GridPoint2 start, GridPoint2 end)Used to randomly generate entities at a specific height.