MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / MovingObject

Class MovingObject

engine/src/objects.h:24–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22};
23
24class MovingObject : public StaticObject
25{
26public:
27 Vector2 lastPosition;
28 Vector2 lastVelocity;
29 Vector2 velocity;
30
31 MovingObject(Vector2 _position = Vector2(0, 0),
32 Vector2 _size = Vector2(0, 0));
33 ~MovingObject();
34};
35
36#endif

Callers

nothing calls this directly

Calls 1

Vector2Class · 0.85

Tested by

no test coverage detected