Exemple #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();
        }
Exemple #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();
        }