Moved getUnitAtTile and prevented it from passing doubles to getTileXY
Wrote functions to set game state to moving and moved