src/proto2/Engine.cc
changeset 58 a53f5ad69500
parent 56 38f269310f77
child 60 26571fd9a8d1
--- a/src/proto2/Engine.cc	Tue Nov 18 19:42:01 2008 +0000
+++ b/src/proto2/Engine.cc	Tue Nov 18 19:59:43 2008 +0000
@@ -2,6 +2,7 @@
 #include "Engine.hh"
 #include "NetworkServer.hh"
 #include "NetworkClient.hh"
+#include "SinglePlayer.hh"
 
 #include <iostream>
 
@@ -28,7 +29,10 @@
 }
 
 void Engine::setupSinglePlayer (void) {
- 	LocalPlayer* lp = new LocalPlayer(Vector(400, 300), true);
+    // create player directly
+ 	LocalPlayer* lp = new SinglePlayer();
+
+    // add to gamestate
 	game_state.newLocalPlayer(lp);
 }