summary refs log tree commit diff stats
path: root/src/components/ponderable.h
blob: c836d2ab8da9f3c95d4f731416353b5e6810e6b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef TANGIBLE_H_746DB3EE
#define TANGIBLE_H_746DB3EE

#include "component.h"

class PonderableComponent : public Component {
  public:
    double getVelocityX() const;
    void setVelocityX(double v);
    double getVelocityY() const;
    void setVelocityY(double v);
    double getAccelX() const;
    void setAccelX(double v);
    double getAccelY() const;
    void setAccelY(double v);

  private:
    double velocityX = 0.0;
    double velocityY = 0.0;
    double accelX = 0.0;
    double accelY = 0.0;
};

#endif /* end of include guard: TANGIBLE_H_746DB3EE */