Platformer
Platformer
Public Member Functions | Public Attributes | List of all members
b2BodyWrapper Struct Reference

A wrapper class for a Box2D Body. More...

#include <PhysicsComponent.hpp>

Collaboration diagram for b2BodyWrapper:
Collaboration graph

Public Member Functions

 b2BodyWrapper (b2Body *body)
 Constructs a Box2D body wrapper. More...
 
 ~b2BodyWrapper ()
 Destructs a Box2D body wrapper.
 

Public Attributes

b2Body * body
 The Box2D body of this wrapper.
 

Detailed Description

A wrapper class for a Box2D Body.

Constructor & Destructor Documentation

◆ b2BodyWrapper()

b2BodyWrapper::b2BodyWrapper ( b2Body *  body)

Constructs a Box2D body wrapper.

Parameters
bodyThe Box2D body of this wrapper

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