From 29168e06ffcea8b8f55a9ed2e8acb3529e776456 Mon Sep 17 00:00:00 2001 From: tom Date: Thu, 30 Apr 2015 22:53:59 -0500 Subject: added creature and resource classes --- src/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') 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(); } -- cgit v1.2.3