|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.engine.collision.CollisionManager
vooga.engine.collision.GoldenTCollisionManager
public class GoldenTCollisionManager
Makes the Collision Manager work with GoldenT, takes two Collidable CollisionShape objects as parameters for the detect detection.
Constructor Summary | |
---|---|
GoldenTCollisionManager()
|
Method Summary | |
---|---|
boolean |
detectCollision(Collidable object1,
Collidable object2)
Detects collision between object1 and object2, must be implemented in the subclass. |
Methods inherited from class vooga.engine.collision.CollisionManager |
---|
act, collides, collides, collides, collides, processBorders, processBorders, processBottomBorder, processLeftBorder, processRightBorder, processTopBorder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GoldenTCollisionManager()
Method Detail |
---|
public boolean detectCollision(Collidable object1, Collidable object2)
CollisionManager
object1
- an object that implements the interface Collidableobject2
- an object that implements the interface Collidable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |