private void handleFreeMovement(ref DataPool worldData, InfoLayerJob.InfoJob infoJob) { if (listController.State.Equals(ListController.ListState.None)) { if (Input.GetKeyDown(KeyCode.Space)) { if (mapState.Equals(MapState.World)) { loadRegion(ref worldData); } } } }
private void checkHoverTile(InfoLayerJob.InfoJob job) { RowInfoInitializer tile = getCurrentTile(); if (tile.ID >= 0) { infoLayer.sendJob(new InfoLayerJob(job, tile.ID)); highlightSelection(tile); } else { infoLayer.sendJob(new InfoLayerJob(InfoLayerJob.InfoJob.Clear, 0)); } }
private void checkHoverTile(InfoLayerJob.InfoJob job) { RowInfoInitializer rowInfo = mapMenu.getCurrentTile(); if (rowInfo != null) { if (rowInfo.ID >= 0) { //infoLayer.sendJob(new InfoLayerJob(job, rowInfo.ID)); } } else { //infoLayer.sendJob(new InfoLayerJob(InfoLayerJob.InfoJob.Clear, 0)); } }