simple refactoring
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import control.emulator.ControllerEmulator
|
||||
import room.Room
|
||||
|
||||
/**
|
||||
* Created by user on 8/22/16.
|
||||
*/
|
||||
fun runTests() {
|
||||
testCarEmulator()
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@ class ControllerEmulator : Controller {
|
||||
callBack.invoke(encodeProtoBuf(responseMessage))
|
||||
return
|
||||
}
|
||||
val currentCommand = commands.get(currentCommandIdx)
|
||||
val currentCommand = commands[currentCommandIdx]
|
||||
|
||||
//refresh car state
|
||||
val carInstance = CarState.instance
|
||||
|
||||
Reference in New Issue
Block a user