public void DispenseReward(string Name) { MazePumpDial Dial; if (MazePumpDial.Dials.TryGetValue(Name, out Dial)) { Dial.Dispense(); } }