summaryrefslogtreecommitdiff
path: root/src/main.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/main.cpp
parente1d75dfdf0727776adf0b3d44995ccf0e03487b3 (diff)
added creature and resource classes
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
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();
}