//Unit constructor public HordeWarchief(int InitialRowPosition, int InitialColPosition, HordeTypeUnits unitType) { this.UnitType = HordeTypeUnits.Warchief; this.UnitRace = UnitRaceType.horde; this.AttackLevel = InitialAttackLevel; this.HealthLevel = InitialHealthLevel; this.CounterAttackLevel = InitialAttackLevel / 2; this.RowPosition = InitialRowPosition; this.ColPosition = InitialColPosition; }
//Unit constructor public HordeDemolisher(int InitialRowPosition, int InitialColPosition, HordeTypeUnits unitType) { this.UnitType = unitType; this.UnitRace = UnitRaceType.horde; this.AttackLevel = InitialAttackLevel; this.HealthLevel = InitialHealthLevel; this.CounterAttackLevel = InitialAttackLevel / 2; this.RowPosition = InitialRowPosition; this.ColPosition = InitialColPosition; }