public void findPath() { if (!inputManager.isPathSelected()) { pathFinder.findPath(currentTile.getTileID(), GetComponent <UnitController>().getMaxHeight()); inputManager.setPathSelected(true); } }