YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::CollidableAreaCell Class Reference

#include <CollidableAreaCell.hpp>

Collaboration diagram for yap::CollidableAreaCell:

List of all members.

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_

Detailed Description

Definition at line 18 of file CollidableAreaCell.hpp.


Constructor & Destructor Documentation

yap::CollidableAreaCell::CollidableAreaCell ( )

Definition at line 9 of file CollidableAreaCell.cpp.


Member Function Documentation

void yap::CollidableAreaCell::AddEventCollidable ( ICollidable collidable,
const MapEventInfo::PtrType mapEventInfo 
)

Definition at line 27 of file CollidableAreaCell.cpp.

Here is the call graph for this function:

void yap::CollidableAreaCell::AddPhysicsCollidable ( ICollidable collidable,
const MapCollidableInfo::PtrType mapCollidableInfo 
)

Definition at line 15 of file CollidableAreaCell.cpp.

Here is the call graph for this function:

void yap::CollidableAreaCell::Clear ( )

Definition at line 71 of file CollidableAreaCell.cpp.

Here is the call graph for this function:

bool yap::CollidableAreaCell::CollidesWith ( const ICollidable collidable,
const Vector2 offset,
const WorldObject parent 
) const

Definition at line 39 of file CollidableAreaCell.cpp.

Here is the call graph for this function:

yap::CollidableAreaCell::DISALLOW_COPY ( CollidableAreaCell  )
private
void yap::CollidableAreaCell::GetEventsCollidingWith ( const ICollidable collidable,
MapEventQueue events,
DynamicWorldObject parent 
) const

Definition at line 56 of file CollidableAreaCell.cpp.

Here is the call graph for this function:

void yap::CollidableAreaCell::RemoveEventCollidable ( ICollidable collidable)

Definition at line 34 of file CollidableAreaCell.cpp.

Here is the call graph for this function:

void yap::CollidableAreaCell::RemovePhysicsCollidable ( ICollidable collidable)

Definition at line 22 of file CollidableAreaCell.cpp.

Here is the call graph for this function:


Member Data Documentation

collection::Map< ICollidable*, MapEventInfo::PtrType> yap::CollidableAreaCell::eventCollidables_
private

Definition at line 57 of file CollidableAreaCell.hpp.

collection::Map< ICollidable*, MapCollidableInfo::PtrType> yap::CollidableAreaCell::physicsCollidables_
private

Definition at line 53 of file CollidableAreaCell.hpp.


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