src/proto2/Engine.hh
changeset 24 b81cb670e6b2
parent 23 8d802b573cf0
child 25 af75a1894a32
--- a/src/proto2/Engine.hh	Sat Nov 08 21:25:56 2008 +0000
+++ b/src/proto2/Engine.hh	Sun Nov 09 20:40:46 2008 +0000
@@ -5,28 +5,29 @@
 #include "Logger.hh"
 
 class Engine {
-	private:
-		// game state
-		GameState game_state;
-		
-		// network server/client
-		NetworkServer *net_server;
-		NetworkClient *net_client;
+    private:
+        // game state
+        GameState game_state;
+        
+        // network server/client
+        NetworkServer *net_server;
+        NetworkClient *net_client;
 
-		// to exit the mainloop
-		bool is_running;
-		
-		// default constructor
-		Engine (void);
+        // to exit the mainloop
+        bool is_running;
+        
+        // default constructor
+        Engine (void);
 
-	public:
-		static void runNetworkServer (const std::string &listen_port);
-		static void runNetworkClient (const std::string &connect_host, const std::string &connect_port);
-		
-		static Logger log (enum LogLevel level, const char *type);
+    public:
+        static void runNetworkServer (const std::string &listen_port);
+        static void runNetworkClient (const std::string &connect_host, const std::string &connect_port);
+        
+                // logging utility
+        static Logger log (enum LogLevel level, const char *type);
 
-	private:
-		void main_loop (void);
+    private:
+        void main_loop (void);
 
 };