Inheritance: IUpdate, IDraw, IDisposable
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 3
0
Arquivo: Layer.cs Projeto: rc183/igf
 public Layer(GameState gameState)
 {
     GameState = gameState;
     IsVisible = true;
 }
Exemplo n.º 4
0
 /// <summary>
 ///   Creates a new instance of the SunBurnLayer
 /// </summary>
 public SunBurnLayer(GameState gameState)
     : base(gameState)
 {
 }