예제 #1
0
    public void WaitingAtStation(IStation station)
    {
        int order = station.NewPassenger(this);

        _status = PassengerStatus.Waiting;
        _stand  = station;

        if (StartWaitingEvent != null)
        {
            StartWaitingEvent.Invoke(this);
        }

        if (_view != null)
        {
            _view.ShowViewPositionAtStation(station.Transform, order);
        }
    }