Arch Game Engine  0.2
Public Member Functions | List of all members
Collision Class Reference

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)
 

Detailed Description

Class used for calculating different types of collision between given Objects.

Definition at line 7 of file collision.h.


The documentation for this class was generated from the following files: