use of eidolons.game.module.adventure.map.MapVisionMaster.MAP_OBJ_INFO_LEVEL in project Eidolons by IDemiurge.
the class MacroTimeMaster method processMapObjects.
private void processMapObjects() {
Coordinates c = MacroGame.getGame().getPlayerParty().getCoordinates();
for (Place place : MacroGame.getGame().getState().getPlaces()) {
MAP_OBJ_INFO_LEVEL infoLevel = MAP_OBJ_INFO_LEVEL.UNKNOWN;
if (place.getCoordinates().dst(c) < 500) {
infoLevel = MAP_OBJ_INFO_LEVEL.KNOWN;
place.setDetected(true);
}
place.setInfoLevel(infoLevel);
}
// for (MacroParty party : MacroGame.getGame().getState().getParties()) {
// if (party.getCurrentDestination() == null)
// continue;
// TravelManager.travel(delta);
// TravelMaster.travel(party, delta);
// }
}
Aggregations