Aspen
2D C++ Class-Based Object Oriented Game Engine
|
#include <Collision.hpp>
Public Member Functions | |
Collision (Collider *other) | |
Constructor. More... | |
Public Attributes | |
COLLISION_RESULT | result |
Result of the tested collision This class should be discarded unless this is SUCCESS. | |
Collider * | collider |
Second collider in a collision. | |
double | collisionX |
Relative x position of the collision. | |
double | collisionY |
Relative y position of the collision. | |
double | collisionAngle |
Angle the collision occurred at. | |
Collision class.
|
explicit |
Constructor.
other | Second collider in the collision |