From 40d164ea3d8437cd5a06a06d5b89bd938d3dd906 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 29 Apr 2017 18:28:28 -0400 Subject: no more getSystem --- main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 5cd4a44..b6e5e24 100644 --- a/main.cpp +++ b/main.cpp @@ -117,9 +117,9 @@ int main(int argc, char *argv[]) ///////////////////////////// - game::engine.getSystem()->add("Hunters Bow", 1); - game::engine.getSystem()->add("Wood Sword", 1); - game::engine.getSystem()->add("Arrow", 198); + InventorySystem::add("Hunters Bow", 1); + InventorySystem::add("Wood Sword", 1); + InventorySystem::add("Arrow", 198); std::list eventQueue; @@ -188,8 +188,8 @@ int main(int argc, char *argv[]) unloadTextures(); - game::engine.getSystem()->die(); - game::engine.getSystem()->die(); + WorldSystem::die(); + WindowSystem::die(); return 0; // Calls everything passed to atexit } -- cgit v1.2.3