summaryrefslogtreecommitdiffstats
path: root/engine/actor.cpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2019-01-25 01:11:57 +0100
committerNao Pross <naopross@thearcway.org>2019-01-25 01:11:57 +0100
commitbcd14a356cafe58808b4c2a14782ebb194c6abc5 (patch)
tree3bc95288b0a0172bb447ccf218fb59821f22501a /engine/actor.cpp
parentDelete bin and test/makefile update .gitignore (diff)
downloadflatland-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.cpp25
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;
+}
+