/// <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; }
/// <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; }
public Layer(GameState gameState) { GameState = gameState; IsVisible = true; }
/// <summary> /// Creates a new instance of the SunBurnLayer /// </summary> public SunBurnLayer(GameState gameState) : base(gameState) { }