In order to use the keyboard to control the tank,

add locateDirection, keyReleased and move method.