Package com.deco2800.game.utils.math
Class RandomUtils
java.lang.Object
com.deco2800.game.utils.math.RandomUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
contains
(float inside, float from, float to) static com.badlogic.gdx.math.GridPoint2
random
(com.badlogic.gdx.math.GridPoint2 start, com.badlogic.gdx.math.GridPoint2 end) static com.badlogic.gdx.math.Vector2
random
(com.badlogic.gdx.math.Vector2 start, com.badlogic.gdx.math.Vector2 end)
-
Method Details
-
random
public static com.badlogic.gdx.math.Vector2 random(com.badlogic.gdx.math.Vector2 start, com.badlogic.gdx.math.Vector2 end) -
random
public static com.badlogic.gdx.math.GridPoint2 random(com.badlogic.gdx.math.GridPoint2 start, com.badlogic.gdx.math.GridPoint2 end) -
contains
public static boolean contains(float inside, float from, float to)
-