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/main.cpp | |
parent | e1d75dfdf0727776adf0b3d44995ccf0e03487b3 (diff) |
added creature and resource classes
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5ab78b3..88a34dc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,7 +3,8 @@ int main()
{
Window main;
- Entity ship(main, "images/basic.png");
+ Creature testcreature(main, "images/Cbasic.png");
+ Resource testresource(main, "images/Rbasic.png");
Event e;
while(e.gRun())
@@ -16,7 +17,8 @@ int main() // eventHandle(e.gEvent());
}
main.Clear();
- ship.Place();
+ testcreature.Place();
+ testresource.Place();
main.Render();
}
|