Beispiel #1
0
        public static void ExecuteChangeStateLogic(string className)
        {
            var newState = HtmlAttributesLogic.CallFunction <State>($"{className}.Transit");

            Game.ChangeState(newState);
            Window.DrawLocation(Game.CurrentState);
        }
Beispiel #2
0
        public static void Main()
        {
            GameLocations = LocationLoader.Load();

            Game   = new GameEngine(GameLocations[LocationName.Main]);
            Window = new HtmlWindow();
            Window.DrawLocation(Game.CurrentState);
        }