public RemovePerson ( |
||
person | ||
Результат | void |
public void RemovePerson(Person person)
{
this.OnPersonRemoved(person);
this.peopleCanvas.Children.Remove(person);
this.CurrentPeopleInFlight--;
this.Remaining--;
if (this.CurrentPeopleInFlight == 0 && this.Remaining == 0)
{
// Level is finished!
this.OnCompleted();
}
}