QCollisionDetector

Collision detector without the pixel precision function.

Constructors

this
this()
Undocumented in source.

Members

Functions

testCollision
bool testCollision(int a, int b)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From CollisionDetector

source
ISpriteCollision source;
Undocumented in source.
addCollisionModel
void addCollisionModel(CollisionModel c, int i)
Undocumented in source. Be warned that the author may not have intended to support it.
removeCollisionModel
void removeCollisionModel(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
addCollisionListener
void addCollisionListener(CollisionListener c)
Undocumented in source. Be warned that the author may not have intended to support it.
removeCollisionListener
void removeCollisionListener(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
spriteMoved
void spriteMoved(int ID)

Implemented from the SpriteMovementListener interface, invoked when a sprite moves. Tests the sprite that invoked it with all other in its list.

testCollision
bool testCollision(int a, int b)

Tests if the two objects have collided. Returns true if they had. Pixel precise.

Meta