Beispiel #1
0
        public Marine(string name)
            :base(name)
        {
            WeaponrySkill weaponrySkill = new WeaponrySkill();

            base.AddSupplement(weaponrySkill);
        }
Beispiel #2
0
 protected virtual void ExecuteAddSupplementCommand(string[] commandWords)
 {
     var unit = this.GetUnit(commandWords[2]); ;
     switch (commandWords[1])
     {
         case "PowerCatalyst":
             var powerCatalyst = new PowerCatalyst();
             unit.AddSupplement(powerCatalyst);
             break;
         case "HealthCatalyst":
             var healthCatalyst = new HealthCatalyst();
             unit.AddSupplement(healthCatalyst);
             break;
         case "AggressionCatalyst":
             var aggressionCatalyst = new AggressionCatalyst();
             unit.AddSupplement(aggressionCatalyst);
             break;
         case "WeaponrySkill":
             var weaponrySkill = new WeaponrySkill();
             unit.AddSupplement(weaponrySkill);
             break;
         case "Weapon":
             var weapon = new Weapon();
             unit.AddSupplement(weapon);
             break;
         default:
             break;
     }
 }