Arch Game Engine
0.2
|
Class used for calculating different types of collision between given Objects. More...
#include <collision.h>
Public Member Functions | |
bool | isTouching (Object a, Object b) |
Check if two objects are touching. | |
bool | contains (Object a, Object b) |
Check if an object contains another object. | |
bool | outOfBoundsOf (Object a, Object b) |
Check if two object are not touching. | |
bool | isAbove (Object a, Object b) |
Check if the first object is above the second object. | |
bool | isBelow (Object a, Object b) |
Check if the first object is below the second object. | |
bool | isRightOf (Object a, Object b) |
Check if the first object is to the right of the second object. | |
bool | isLeftOf (Object a, Object b) |
Check if the first object is to the left of the second object. | |
bool | overlaps (Object a, Object b) |
Class used for calculating different types of collision between given Objects.
Definition at line 7 of file collision.h.