Example #1
0
        public static Weapon DefineType(WeaponType weaponType, WeaponConfig config)
        {
            Weapon weapon = DefineType(weaponType);

            weapon.SetConfigFile(config);
            return(weapon);
        }
Example #2
0
 public void SetConfigFile(WeaponConfig weaponConfig)
 {
     configFile = weaponConfig;
 }