diff options
Diffstat (limited to 'src/creature.cpp')
-rw-r--r-- | src/creature.cpp | 8 |
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; +} |