diff options
author | Nao Pross <naopross@thearcway.org> | 2019-01-25 01:11:57 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-01-25 01:11:57 +0100 |
commit | bcd14a356cafe58808b4c2a14782ebb194c6abc5 (patch) | |
tree | 3bc95288b0a0172bb447ccf218fb59821f22501a /engine/actor.cpp | |
parent | Delete bin and test/makefile update .gitignore (diff) | |
download | flatland-bcd14a356cafe58808b4c2a14782ebb194c6abc5.tar.gz flatland-bcd14a356cafe58808b4c2a14782ebb194c6abc5.zip |
Rename everything under engine/ to remove `flat' and be `.hpp'
Diffstat (limited to 'engine/actor.cpp')
-rw-r--r-- | engine/actor.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/engine/actor.cpp b/engine/actor.cpp new file mode 100644 index 0000000..525939d --- /dev/null +++ b/engine/actor.cpp @@ -0,0 +1,25 @@ +#include "flatactor.h" + +#include "flatland.h" + +FlatActor::FlatActor(FlatCollector *parent, FlatBound *bounds) + + : FlatCollector(parent), bounds(bounds) +{ +} + +FlatActor::~FlatActor() +{ + +} + +void FlatActor::setBounds(FlatBound * bounds) +{ + this->bounds = bounds; +} + +FlatBound * FlatActor::getBounds() const +{ + return bounds; +} + |