public void EnterGoal(GoalZone obj) { _enteringGoals.Add(obj); if (_enteringGoals.Count == _goals.Count) { _onCompleteGoal.OnNext(Unit.Default); } }
public void ExitGoal(GoalZone obj) { _enteringGoals.Remove(obj); }
public void RemoveGoal(GoalZone obj) { _goals.Remove(obj); }
public void AddGoal(GoalZone obj) { _goals.Add(obj); }