diff options
author | tom <tom@ground-control> | 2015-04-30 22:53:59 -0500 |
---|---|---|
committer | tom <tom@ground-control> | 2015-04-30 22:53:59 -0500 |
commit | 29168e06ffcea8b8f55a9ed2e8acb3529e776456 (patch) | |
tree | e56d99ef9e38962064b64a00d61a355f9a23fc29 /src/resource.cpp | |
parent | e1d75dfdf0727776adf0b3d44995ccf0e03487b3 (diff) |
added creature and resource classes
Diffstat (limited to 'src/resource.cpp')
-rw-r--r-- | src/resource.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/resource.cpp b/src/resource.cpp new file mode 100644 index 0000000..06c7a04 --- /dev/null +++ b/src/resource.cpp @@ -0,0 +1,8 @@ +#include "resource.h" + +Resource::Resource(Window m, std::string s) +{ + texture = loadTexture(s, m); + renderer = m.getRenderer(); + x=y=300; +} |