Inheritance: IUpdate, IDraw, IDisposable
Example #1
0
 /// <summary>
 /// Creates a new instance of the SunBurnSplashScreen layer
 /// </summary>
 /// <param name="gameState"></param>
 /// <param name="showDuringDevelopment">True if you want to test SplashScreen display; false otherwise</param>
 public SunBurnSplashScreen(GameState gameState, bool showDuringDevelopment)
     : base(gameState)
 {
     _showDuringDevelopment = showDuringDevelopment;
 }
Example #2
0
 /// <summary>
 ///   Creates a new instance of the SunBurnLayer with a ContentRepository and a Scene
 /// </summary>
 /// <param name="gameState"></param>
 /// <param name = "repositoryPath">The path to the ContentRepository file in the Content project</param>
 /// <param name = "scenePath">The path to the SunBurn Scene file in the Content project</param>
 public SunBurnLayer(GameState gameState, string repositoryPath, string scenePath) : this(gameState)
 {
     _contentRepositoryPath = repositoryPath;
     _scenePath = scenePath;
 }
Example #3
0
File: Layer.cs Project: rc183/igf
 public Layer(GameState gameState)
 {
     GameState = gameState;
     IsVisible = true;
 }
Example #4
0
 /// <summary>
 ///   Creates a new instance of the SunBurnLayer
 /// </summary>
 public SunBurnLayer(GameState gameState)
     : base(gameState)
 {
 }