public void Deselect(SelectableWorldObject target) { target.Select(false); selectedObjects.Remove(target); ObjectDeselected(this, new EventArg <SelectableWorldObject>(target)); }
public void Select(SelectableWorldObject target) { target.Select(true); selectedObjects.Add(target); ObjectSelected(this, new EventArg <SelectableWorldObject>(target)); }