/// <summary> /// Allows the game to perform any initialization it needs to before starting to run. /// This is where it can query for any required services and load any non-graphic /// related content. Calling base.Initialize will enumerate through any components /// and initialize them as well. /// </summary> protected override void Initialize() { // TODO: Add your initialization logic here _splashScreen = new SplashScreen(Content, graphics); _splashScreen.Current = true; _gameScreen = new GameScreen(Content, graphics); _menuScreen = new MenuScreen(Content, graphics); _gameOverScreen = new GameOverScreen(Content, graphics); _creditoScreen = new CreditoScreen(Content, graphics); _rankingScreen = new RankingScreen(Content, graphics); Pontuacao(); base.Initialize(); }
private void Awake() { instance = this; Show(); }
public void Show(RankingScreen rankingScreen) { input.SetTextData(rankingScreen.input); notice.SetTextData(rankingScreen.notice); }