public void buildCollector(string s) { if (s.Length != 1) { print("Error: string must be a char!"); } char c = s.ToCharArray()[0]; resources.AddCollector(c - 'A'); }
public void buildCollector(string s) { if (s.Length != 1) { print("Error: string must be a char!"); } char c = s.ToCharArray()[0]; resources.AddCollector(c - 'A'); }