summaryrefslogtreecommitdiff
path: root/src/creature.cpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-04-30 22:53:59 -0500
committertom <tom@ground-control>2015-04-30 22:53:59 -0500
commit29168e06ffcea8b8f55a9ed2e8acb3529e776456 (patch)
treee56d99ef9e38962064b64a00d61a355f9a23fc29 /src/creature.cpp
parente1d75dfdf0727776adf0b3d44995ccf0e03487b3 (diff)
added creature and resource classes
Diffstat (limited to 'src/creature.cpp')
-rw-r--r--src/creature.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/creature.cpp b/src/creature.cpp
new file mode 100644
index 0000000..c96785e
--- /dev/null
+++ b/src/creature.cpp
@@ -0,0 +1,8 @@
+#include "creature.h"
+
+Creature::Creature(Window m, std::string s)
+{
+ texture = loadTexture(s, m);
+ renderer = m.getRenderer();
+ x=y=500;
+}