diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4435ad9..0e26dc5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,9 +3,7 @@ int main()
{
Window main;
- //Creature testcreature(main, "img/Cbasic.png");
- //Resource testresource(main, "img/Rbasic.png");
- List(main);
+ List L(main);
Event e;
while(e.gRun())
@@ -17,14 +15,14 @@ int main() //else if(e.gEventType() == SDL_KEYDOWN)
// eventHandle(e.gEvent());
}
- main.Clear();
-
- //testcreature.Behavior();
- //testcreature.Place();
- //testresource.Place();
+ main.Clear();
+
+ L.Behavior();
+ L.Place();
+
main.Render();
- SDL_Delay(10);
+ SDL_Delay(5);
}
main.Destroy();
|