Achievement Description Property Delta Engine Documentation

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

public string Description { get; protected set; }

Property Value

Type: String
Remarks

Tests: DeltaEngine.GameLogic.Tests.AchievementTests
Examples

1 unit tests call DeltaEngine.GameLogic.Achievement.Description
[Test]
public void TestAchievement()
{
    var achievement = new Achievement(Name, Description);
    Assert.AreEqual(Name, achievement.Name);
    Assert.AreEqual(Description, achievement.Description);
    Assert.IsFalse(achievement.IsAchieved);
}
See Also