public void removeAutoCmd(Command c) { activateCmds.Remove(c); deactivateCmds.Remove(c); c.removeActivator(this); }
public void autoDeactivate(Command c) { deactivateCmds.Add(c); if (activateCmds.Contains(c)) activateCmds.Remove(c); c.removeActivator(this); }