![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <CollidableAreaCell.hpp>
Public Member Functions | |
| CollidableAreaCell () | |
| void | AddPhysicsCollidable (ICollidable *collidable, const MapCollidableInfo::PtrType &mapCollidableInfo) |
| void | RemovePhysicsCollidable (ICollidable *collidable) |
| void | AddEventCollidable (ICollidable *collidable, const MapEventInfo::PtrType &mapEventInfo) |
| void | RemoveEventCollidable (ICollidable *collidable) |
| bool | CollidesWith (const ICollidable &collidable, const Vector2 &offset, const WorldObject &parent) const |
| void | GetEventsCollidingWith (const ICollidable &collidable, MapEventQueue &events, DynamicWorldObject &parent) const |
| void | Clear () |
Private Member Functions | |
| DISALLOW_COPY (CollidableAreaCell) | |
Private Attributes | |
| collection::Map< ICollidable *, MapCollidableInfo::PtrType > | physicsCollidables_ |
| collection::Map< ICollidable *, MapEventInfo::PtrType > | eventCollidables_ |
Definition at line 18 of file CollidableAreaCell.hpp.
| yap::CollidableAreaCell::CollidableAreaCell | ( | ) |
Definition at line 9 of file CollidableAreaCell.cpp.
| void yap::CollidableAreaCell::AddEventCollidable | ( | ICollidable * | collidable, |
| const MapEventInfo::PtrType & | mapEventInfo | ||
| ) |
| void yap::CollidableAreaCell::AddPhysicsCollidable | ( | ICollidable * | collidable, |
| const MapCollidableInfo::PtrType & | mapCollidableInfo | ||
| ) |
| void yap::CollidableAreaCell::Clear | ( | ) |
| bool yap::CollidableAreaCell::CollidesWith | ( | const ICollidable & | collidable, |
| const Vector2 & | offset, | ||
| const WorldObject & | parent | ||
| ) | const |
|
private |
| void yap::CollidableAreaCell::GetEventsCollidingWith | ( | const ICollidable & | collidable, |
| MapEventQueue & | events, | ||
| DynamicWorldObject & | parent | ||
| ) | const |
| void yap::CollidableAreaCell::RemoveEventCollidable | ( | ICollidable * | collidable | ) |
| void yap::CollidableAreaCell::RemovePhysicsCollidable | ( | ICollidable * | collidable | ) |
|
private |
Definition at line 57 of file CollidableAreaCell.hpp.
|
private |
Definition at line 53 of file CollidableAreaCell.hpp.