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

Class StaticObject

engine/src/objects.h:13–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "vector.h"
12
13class StaticObject
14{
15public:
16 Vector2 position;
17 Vector2 size;
18
19 StaticObject(Vector2 _position = Vector2(0, 0),
20 Vector2 _size = Vector2(0, 0));
21 ~StaticObject();
22};
23
24class MovingObject : public StaticObject
25{

Callers 2

resolveItemCollisionsMethod · 0.85

Calls 1

Vector2Class · 0.85

Tested by

no test coverage detected