Exemple #1
0
 protected Screen(SunfishGame currentGame, Color backgroundColor, string backgroundTextureName)
 {
     ScreenContent = currentGame.CreateContentManager ();
     ChildViews = new Views.ScreenLayers ();
     CurrentGame = currentGame;
     BackgroundColor = backgroundColor;
     if (!string.IsNullOrEmpty (backgroundTextureName)) {
         BackgroundTexture = LoadTexture (backgroundTextureName);
     }
 }