FYP  1.0.0
Final Year Project -- Alexander Meuer
collision::CollisionGroup Class Reference
Collaboration diagram for collision::CollisionGroup:
Collaboration graph

Public Member Functions

void check (float deltaTime)
 
void add (std::shared_ptr< Collidable > const &entry)
 
bool checkAgainst (std::shared_ptr< Collidable > &other)
 

Private Member Functions

bool checkPair (Collidable *first, Collidable *second, sf::Vector2f &minTranslation) const
 
void cullExpiredMembers ()
 

Private Attributes

std::vector< std::weak_ptr< Collidable > > mMembers
 

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