상속: IUpdate, IDraw, IDisposable
예제 #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;
 }
예제 #2
0
파일: SunBurnLayer.cs 프로젝트: rc183/igf
 /// <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;
 }
예제 #3
0
파일: Layer.cs 프로젝트: rc183/igf
 public Layer(GameState gameState)
 {
     GameState = gameState;
     IsVisible = true;
 }
예제 #4
0
파일: SunBurnLayer.cs 프로젝트: rc183/igf
 /// <summary>
 ///   Creates a new instance of the SunBurnLayer
 /// </summary>
 public SunBurnLayer(GameState gameState)
     : base(gameState)
 {
 }