target/web/public/main/js/cardgame.js
// Starts a move action for a Unit
Starts a move action for a Unit
Starts a move action for a Unit
function moveUnit(unitID, xTile, yTile) {
	ws.send(JSON.stringify({
    		messagetype: "getTileForMove",
			unitID: unitID,
			xTile: xTile,
			yTile: yTile
  		}));
}
function moveUnit ( unitID , xTile , yTile ) { ws . send ( JSON . stringify ( { messagetype : "getTileForMove" , unitID : unitID , xTile : xTile , yTile : yTile } ) ) ; }
Starts a move action for a Unit
Starts a move action for a Unit