Package zombie
Class CollisionManager
java.lang.Object
zombie.CollisionManager
public class CollisionManager
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CollisionManager.Contact
class
CollisionManager.PolygonCollisionResult
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList
ContactMap
static CollisionManager
instance
-
Constructor Summary
Constructors Constructor Description CollisionManager()
-
Method Summary
Modifier and Type Method Description void
AddContact(IsoMovingObject movingObject, IsoMovingObject movingObject2)
void
initUpdate()
float
IntervalDistance(float float1, float float2, float float3, float float4)
CollisionManager.PolygonCollisionResult
PolygonCollision(Vector2 vector2)
void
ResolveContacts()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ContactMap
public java.util.ArrayList ContactMap -
instance
-
-
Constructor Details
-
CollisionManager
public CollisionManager()
-
-
Method Details
-
PolygonCollision
-
IntervalDistance
public float IntervalDistance(float float1, float float2, float float3, float float4) -
initUpdate
public void initUpdate() -
AddContact
-
ResolveContacts
public void ResolveContacts()
-