Exemple #1
0
        public override string Execute()
        {
            string[] weaponArgs = CommandArgs[1].Split();
            IWeapon  weapon     = this.WeaponFactory.CreateWeapon(weaponArgs[0], weaponArgs[1], CommandArgs[2]);

            WeaponRepository.CreateWeapon(weapon);
            return(null);
        }