FogSettingsTests CreatingOwnFogSettingsWillChangeTheCurrentSettings Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Content
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void CreatingOwnFogSettingsWillChangeTheCurrentSettings()
Examples

[Test]
public void CreatingOwnFogSettingsWillChangeTheCurrentSettings()
{
    FogSettings defaultSettings = FogSettings.Current;
    var ownFogSettings = new FogSettings(Color.Green, 1, 2);
    Assert.AreNotEqual(defaultSettings, ownFogSettings);
    Assert.AreEqual(ownFogSettings, FogSettings.Current);
}
See Also