Esempio n. 1
0
 public static void Main()
 {
     game = new Game();
     game.SetLevels(new [] {new EditorLevel()});
     game.Setup();
     game.Run();
 }
Esempio n. 2
0
        public static void Main(string[] args)
        {
            Console.WriteLine("server");
            NetworkServer server = new NetworkServer();
            server.Start();

            var sl = new ServerLevel(server);
            var game = new Game();
            Game.Zoom = 0.2f;
            game.SetLevels(new [] {sl});
            game.Setup();
            game.Run();
        }