protected Creature(Position position, ObjectSize size, SpriteType spriteType) : base(position, size, spriteType) { Properties = new Dictionary<Property, dynamic>() { {Property.MaxHealthPoints, null}, {Property.HealthPoints, null}, {Property.DefensePoints, null}, {Property.AttackPoints, null}, {Property.AttackRange, null}, {Property.IsAlive, true}, {Property.MovementSpeed, null}, {Property.WeaponHeld, null} }; }
protected GameObject(Position position, ObjectSize size, SpriteType spriteType) { this.Position = position; this.Size = size; this.SpriteType = spriteType; }
protected Character(Position position, ObjectSize size, SpriteType spriteType) : base(position, size, spriteType) { this.Properties.Add(Property.Inventory, null); }
protected Enemy(Position position, ObjectSize objectSize, SpriteType spriteType) : base(position, objectSize, spriteType) { this.Properties.Add(Property.BonusWeaponHeld, null); }