public GameScreen() { currentLevelIndex = -1; randomizer = new PseudoRandom(); SetViewportBackground("GameBackground"); var font = ContentLoader.Load<Font>("Tahoma30"); currentLevelFontText = new FontText(font, "", Rectangle.FromCenter(new Vector2D(0.5f, DrawArea.Top + 0.079f), new Size(0.6f,0.3f))); nextLevel = new NextLevelScreen(); CreateImageContainersForRiddle(); CreateDisplayCharacterButtons(); CreateLevels(); }
public GameScreen() { currentLevelIndex = -1; randomizer = new PseudoRandom(); SetViewportBackground("GameBackground"); var font = ContentLoader.Load <Font>("Tahoma30"); currentLevelFontText = new FontText(font, "", Rectangle.FromCenter(new Vector2D(0.5f, DrawArea.Top + 0.079f), new Size(0.6f, 0.3f))); nextLevel = new NextLevelScreen(); CreateImageContainersForRiddle(); CreateDisplayCharacterButtons(); CreateLevels(); }