Beispiel #1
0
        public void InitializeGameState()
        {
            // level class
            LevelParser.NewGame();
            level = LevelParser.GetInstance();

            // event bus
            eventBus = TaxiBus.GetBus();

            // game assets
            backGroundImage = new Entity(
                new StationaryShape(new Vec2F(0.0f, 0.0f), new Vec2F(1.0f, 1.0f)),
                new Image(Path.Combine("Assets", "Images", "SpaceBackground.png"))
                );
        }