Exemple #1
0
        public Armor GetArmor(string id)
        {
            if (!Armor.ContainsKey(id))
            {
                throw new GameDataException("Could not find armor with id " + id);
            }

            return(new Armor(Armor[id]));
        }