Beispiel #1
0
        public override void Enter()
        {
            menu = new Screen();
            Gui.GetInstance().AddComponent(menu);

            menu.AddComponent(new TextComponent(200, 100, "CREATE LOCAL GAME", "kartsFont"));
            menu.AddComponent(new TextComponent(150, 300, "PRESS BUTTON TO CONFIRM", "kartsFont"));
        }
Beispiel #2
0
        public override void Enter()
        {
            menu = new Screen();
            Gui.GetInstance().AddComponent(menu);

            if (Gamer.SignedInGamers.Count == 0)
            {
                Guide.ShowSignIn(1, false);
            }
        }
Beispiel #3
0
        public override void Enter()
        {
            menu = new Screen();
            Gui.GetInstance().AddComponent(menu);

            session = NetworkManager.GetInstance().GetSession();
            if (session != null)
            {
                //session.GamerJoined += new EventHandler<GamerJoinedEventArgs>(session_GamerJoined);
                //session.GamerLeft += new EventHandler<GamerLeftEventArgs>(session_GamerLeft);
            }

            base.Enter();
        }
Beispiel #4
0
 public override void Enter()
 {
     menu = new Screen();
     Gui.GetInstance().AddComponent(menu);
     base.Enter();
 }