#include <Physical2D.hpp>

Public Member Functions

 Physical2D (iv::ClientMarker *owner)
 
void Register (Physical2D_World *world, playrho::d2::BodyConf const &conf)
 
void Unregister ()
 
iv::ClientMarkerowner ()
 
bool registered ()
 
Physical2D_Worldworld ()
 

Public Attributes

iv::Link< Entity2Dentity
 
playrho::d2::Body * body
 

Detailed Description

Whole PhysicalBody2D module was not yet tested.

Definition at line 15 of file Physical2D.hpp.

Constructor & Destructor Documentation

◆ Physical2D()

comp::Physical2D::Physical2D ( iv::ClientMarker owner)

Definition at line 7 of file Physical2D.cpp.

Member Function Documentation

◆ Register()

void comp::Physical2D::Register ( Physical2D_World world,
playrho::d2::BodyConf const &  conf 
)

Definition at line 15 of file Physical2D.cpp.

◆ Unregister()

void comp::Physical2D::Unregister ( )

Definition at line 28 of file Physical2D.cpp.

◆ owner()

iv::ClientMarker * comp::Physical2D::owner ( )

Definition at line 39 of file Physical2D.cpp.

◆ registered()

bool comp::Physical2D::registered ( )

Definition at line 44 of file Physical2D.cpp.

◆ world()

Physical2D_World * comp::Physical2D::world ( )

Definition at line 49 of file Physical2D.cpp.

Member Data Documentation

◆ entity

iv::Link< Entity2D > comp::Physical2D::entity

Definition at line 30 of file Physical2D.hpp.

◆ body

playrho::d2::Body* comp::Physical2D::body

Instantiated during registration to Physical2D_World, deinstantiated during unregistration from Physical2D_World.

Definition at line 35 of file Physical2D.hpp.


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