public static void AddGroup(TankGroup group) { if (tankGroups == null) { tankGroups = new List <TankGroup> (); } if (!tankGroups.Contains(group)) { tankGroups.Add(group); } }
public void SetGroup(int index) { myGroup = TankGroup.GetTankGroup(index); }