예제 #1
0
        public void Startup(IFileStorage storage)
        {
            GameEngine = new GameEngine(storage);

            Log = Dependencies.Get <ILogger> ();

            var combatScene = new CombatScene(this);

            combatScene.Load(CurrentState.CurrentMap);
            CurrentScene = combatScene;

            GameWindow.StartAnimationTimer();
        }
예제 #2
0
        public void Startup(IFileStorage storage)
        {
            Client = new GameClient();

            var combatScene = new CombatScene(this);

            Client.Delegate = combatScene;

            combatScene.Load(CurrentState.CurrentMap);
            CurrentScene = combatScene;

            GameWindow.StartAnimationTimer();
        }