Package | com.coreyoneil.collision |
Class | public class CDK |
Inheritance | CDK —> Object |
Language Version: Actionscript 3.0
Player Version: Flash Player 9
CDK is a pseudo-abstract class that defines most of the logic for the subclasses CollisionGroup and CollisionList.
The CDK class uses BitmapData generated from the display objects it is detecting collisions againt and determines if there is any overlap between them. It also handles the logic that calculates the angle of collision based on the display objects' shapes where the collision occurs.
The CDK class cannot be instantiated. To make use of it, you'll want to use CollisionGroup and CollisionList.