|
Bratmobile
|
Robot class for Box2D simulation. More...
#include <robot.h>
Public Member Functions | |
| Robot ()=default | |
| This creates a robot object but it's uninitialised! | |
| Robot (b2World *world) | |
| b2Body * | body () |
| b2PolygonShape | box () |
Static Public Member Functions | |
| static std::vector< b2Vec2 > | get_vertices () |
| Returns vertices in local frame. Order: bl, br, tl, tr. | |
| static b2Vec2 | bl () |
| static b2Vec2 | tr () |
Robot class for Box2D simulation.