class Entity {
+public:
+ enum Orientation {
+ LOOKS_LEFT,
+ LOOKS_RIGHT,
+ };
+
public:
constexpr Entity() { }
+ virtual ~Entity() { }
public:
void Update(float dt, Vector<float> extAcc, Vector<float> tv);
AABB vbox;
AABB hbox;
- float mass = 1.0f;
- float elast = 0.75f;
+ Orientation orient = LOOKS_LEFT;
bool onGround = false;