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