Example #1
0
 public MenuScreen(Game game, ScreenManager screenManager)
     : base(game, screenManager)
 {
     LoadContent ();
     InitializeMenus ();
     SoundText = SOUND_STRING_ON;
 }
 public ActionBarScreen(Game game, ScreenManager screenManager)
     : base(game, screenManager)
 {
     Hands = new List<Hand> ();
     LoadTextures ();
     LoadHands ();
 }
        public static ScreenManager GetInstance(Game game)
        {
            if (instance == null)
                instance = new ScreenManager (game);

            return instance;
        }
Example #4
0
		public LoadingScreen (Game game, ScreenManager screenManager)
			: base (game, screenManager)
		{
			LoadContent ();
			LoadingCenter = new Vector2 (LOADING_CENTER_X, LOADING_CENTER_Y);
			ExtraLoadingMessageCenter = new Vector2 (LOADING_CENTER_X, EXTRA_LOADING_MESSAGE_Y);
		}
Example #5
0
 public GameScreen(Game game, ScreenManager screenManager)
 {
     Game = game;
     ScreenManager = screenManager;
     GetNewContentManager (game);
     ContentManager.RootDirectory = "Content";
 }
Example #6
0
 public HandScreen(Game game, ScreenManager screenManager)
     : base(game, screenManager)
 {
     InitializeHandReleaseStatus ();
     InitializeGameComponents ();
     LoadContent ();
     SetupLevels ();
 }
		public LeaderboardScreen (Game game, ScreenManager screenManager)
			: base (game, screenManager)
		{
			LoadTextures ();			
		}
 public BackgroundScreen(Game game, ScreenManager screenManager)
     : base(game, screenManager)
 {
     LoadTextures ();
 }
Example #9
0
 public HUDScreen(Game game, ScreenManager screenManager)
     : base(game, screenManager)
 {
     Level = 1;
     LoadContent ();
     InitializeVariables ();
 }