Inheritance: 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)
 {
 }