simple refactoring

This commit is contained in:
MaximZaitsev
2016-08-23 12:02:23 +03:00
parent ee5390b0b5
commit abd2b39565
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -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