The engine of the game. Responsible for following the logic and the rules of the game. The entrance point of the game.
示例#1
0
 static void Main()
 {
     ConsoleRenderer renderer = new ConsoleRenderer(15, 20);
     KeyboardInterface keyboard = new KeyboardInterface();
     Engine engine = new Engine(renderer, keyboard);
     engine.Run();
 }
示例#2
0
		public override void FinishedLaunching (MonoMac.Foundation.NSObject notification)
		{
			game = new Engine();
		    game.Run();
		}
示例#3
0
 static void Main()
 {
     game = new Engine();
     game.Run();
 }