예제 #1
0
파일: Screen.cs 프로젝트: fordream/Sunfish
 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);
     }
 }