[6.5.0]红绿灯逻辑调整
This commit is contained in:
@@ -77,10 +77,12 @@ object CallerTrafficLightListenerManager : CallerBase<IMoGoTrafficLightListener>
|
||||
* @param currentState 当前灯态
|
||||
* @param currentDuration 当前灯态倒计时
|
||||
*/
|
||||
fun onShowTrafficLightPrompt(currentState: TrafficLightEnum,currentDuration: Int){
|
||||
fun onShowTrafficLightPrompt(currentState: TrafficLightEnum, currentDuration: Float,
|
||||
nextState: TrafficLightEnum, nextDuration: Float,
|
||||
nextTwoState: TrafficLightEnum, nextTwoDuration: Float){
|
||||
M_LISTENERS.forEach{
|
||||
val listener = it.value
|
||||
listener.onShowTrafficLightPrompt(currentState,currentDuration)
|
||||
listener.onShowTrafficLightPrompt(currentState,currentDuration,nextState, nextDuration, nextTwoState, nextTwoDuration)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user