public Witch(Position position) : base(position, new ObjectSize(WitchSizeX, WitchSizeY), WitchSpriteType) { this.Properties[Property.HealthPoints] = WitchHealthPoints; this.Properties[Property.DefensePoints] = WitchDefensePoints; this.Properties[Property.AttackPoints] = WitchAttackPoints; this.Properties[Property.MovementSpeed] = WitchMovementSpeed; this.Properties[Property.AttackRange] = WitchAttackRange; }
public Mage(Position position) : base(position, new ObjectSize(MageSizeX, MageSizeY), MageSpriteType) { this.Properties[Property.HealthPoints] = MageHealthPoints; this.Properties[Property.DefensePoints] = MageDefensePoints; this.Properties[Property.AttackPoints] = MageAttackPoints; this.Properties[Property.MovementSpeed] = MageMovementSpeed; this.Properties[Property.AttackRange] = MageAttackRange; this.Properties[Property.Inventory] = new Weapon[3]; }
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 Character(Position position, ObjectSize size, SpriteType spriteType) : base(position, size, spriteType) { this.Properties.Add(Property.Inventory, null); }
protected GameObject(Position position, ObjectSize size, SpriteType spriteType) { this.Position = position; this.Size = size; this.SpriteType = spriteType; }
protected Enemy(Position position, ObjectSize objectSize, SpriteType spriteType) : base(position, objectSize, spriteType) { this.Properties.Add(Property.BonusWeaponHeld, null); }