Package group24.escaperoom.utils
Class Collisions
java.lang.Object
group24.escaperoom.utils.Collisions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancollides(com.badlogic.gdx.math.Circle c, com.badlogic.gdx.math.Rectangle r) static com.badlogic.gdx.math.Vector2getNearestPoint(com.badlogic.gdx.math.Rectangle target, com.badlogic.gdx.math.Vector2 origin)
-
Constructor Details
-
Collisions
public Collisions()
-
-
Method Details
-
collides
public static boolean collides(com.badlogic.gdx.math.Circle c, com.badlogic.gdx.math.Rectangle r) -
getNearestPoint
public static com.badlogic.gdx.math.Vector2 getNearestPoint(com.badlogic.gdx.math.Rectangle target, com.badlogic.gdx.math.Vector2 origin)
-