/** * Energies */ public static Energy AddEnergy(string name, float amount) { Energy e = GetEnergy(name); e.Add(amount); return(e); }