/// <summary> /// Create a new instance of Actor. /// </summary> public Actor() { // Create inventory collection for this actor. Inventory = new ItemCollection(); // Active effects on this actor. EffectStack = new List<Effect>(); // The actors stats. Stats = new Stats(); WieldedWeapons = new WeaponsWielded(); }
/// <summary> /// suplicant classes can add their own flavourings also. /// this should be called after stats have been created. /// </summary> public virtual void Initialize() { Stats.Health = Stats.HitPoints; WornArmour = new ArmourWorn(); WieldedWeapons = new WeaponsWielded(); }