Recast  1
Game with custom magic
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
Box2DWorld Class Reference

#include <Box2DWorld.h>

Inheritance diagram for Box2DWorld:
Inheritance graph
Collaboration diagram for Box2DWorld:
Collaboration graph

Public Member Functions

 Box2DWorld (Server *server)
 
 ~Box2DWorld ()
 
void update ()
 
std::vector< EntitygetAllEntityInChunk (float x1, float x2)
 
EntitycreateEntity (b2BodyDef &bodyDef, b2FixtureDef &fixtureDef)
 
SpellEntitycreateSpellEntity (b2Vec2 position, Spell *spell)
 
EntitygetEntityById (int id)
 
void asyncCreateSpellEntity (b2Vec2 position, Spell *spell)
 
void subscribeToUpdate (Entity *entity)
 
void SayGoodbye (b2Fixture *fixture)
 
void SayGoodbye (b2Joint *joint)
 
void BeginContact (b2Contact *contact)
 

Constructor & Destructor Documentation

Box2DWorld::Box2DWorld ( Server server)
Box2DWorld::~Box2DWorld ( )

Member Function Documentation

void Box2DWorld::asyncCreateSpellEntity ( b2Vec2  position,
Spell spell 
)

Here is the caller graph for this function:

void Box2DWorld::BeginContact ( b2Contact *  contact)

Here is the call graph for this function:

Entity * Box2DWorld::createEntity ( b2BodyDef &  bodyDef,
b2FixtureDef &  fixtureDef 
)

Here is the caller graph for this function:

SpellEntity * Box2DWorld::createSpellEntity ( b2Vec2  position,
Spell spell 
)

Here is the call graph for this function:

std::vector< Entity > Box2DWorld::getAllEntityInChunk ( float  x1,
float  x2 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Entity* Box2DWorld::getEntityById ( int  id)
inline

Here is the caller graph for this function:

void Box2DWorld::SayGoodbye ( b2Fixture *  fixture)
void Box2DWorld::SayGoodbye ( b2Joint *  joint)
inline
void Box2DWorld::subscribeToUpdate ( Entity entity)
inline
void Box2DWorld::update ( )

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