예제 #1
0
        public static GameDebugger AttachTo(Game game, IDebugMultiCanvasHost debugMultiCanvasHost)
        {
            var debugger = new GameDebugger(game, debugMultiCanvasHost);

            game.Debuggers.Add(debugger);
            return(debugger);
        }
예제 #2
0
        public static void Main(string[] args)
        {
            var gameFactory = new GameFactory();

            gameFactory.GameCreated += (s, game) => { GameDebugger.AttachToWithSoftwareRendering(game); };
//         gameFactory.GameCreated += (s, game) => { GameDebugger.AttachToWithHardwareRendering(game); };
            OpenMOBA.Program.Main(gameFactory);
        }