Bratmobile
Public Member Functions | Static Public Member Functions | List of all members
Robot Class Reference

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 ()
 

Detailed Description

Robot class for Box2D simulation.


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