tank x/y type changed to float; simplified control added.