Achievement ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.GameLogic Achievement

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

public class Achievement

The Achievement type exposes the following members.

Constructors

  NameDescription
Public methodAchievement
Initializes a new instance of the Achievement class
Top
Properties

  NameDescription
Public propertyDescription
Public propertyIsAchieved
Public propertyName
Top
Remarks

Tests: DeltaEngine.GameLogic.Tests.AchievementTests
Examples

1 unit tests call DeltaEngine.GameLogic.Achievement
[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