using System; using System.Collections.Generic; using SnowLight.Specialized; namespace SnowLight.Game.Achievements { public class Achievement { private uint mId; private string mGroupName; private string mCategory; private Dictionary mLevels; public uint Id { get { return mId; } } public string GroupName { get { return mGroupName; } } public string Category { get { return mCategory; } } public Dictionary Levels { get { return new Dictionary(mLevels); } } public Achievement(uint Id, string GroupName, string Category) { mId = Id; mGroupName = GroupName; mCategory = Category; mLevels = new Dictionary(); } public void AddLevel(AchievementLevel Level) { mLevels.Add(Level.Number, Level); } } }