private void onMoveButtonClick() { moveArrow = EntityManager.instantiateMoveArrow(); moveArrow.init(board, currentPlayer, team.numMoves, team.numMoves, false, true); moveArrow.onClick += moveTo; moveArrow.onCancel += cancelMove; }
private void onShootButtonClick() { moveArrow = EntityManager.instantiateMoveArrow(); moveArrow.init(board, currentPlayer, currentPlayer.playerData.level, 1, true, false); moveArrow.onClick += shootTo; moveArrow.onCancel += cancelShoot; }