Beispiel #1
0
 // Called when a platoon enters or leaves the player's selection.
 // justPreviewing - true when the unit should be shaded as if selected, but the
 //                  actual selected set has not been changed yet
 public void SetSelected(bool selected, bool justPreviewing)
 {
     Icon?.SetSelected(selected);
     Units.ForEach(unit => unit.SetSelected(selected, justPreviewing));
 }