use of eidolons.libgdx.screens.map.editor.MapPointMaster in project Eidolons by IDemiurge.
the class MacroGame method init.
@Override
public void init() {
loop = new MacroGameLoop(this);
ref = new MacroRef(this);
state = new MacroGameState(this);
manager = new MacroGameManager(this);
master = new MacroGameMaster(this);
logManager = new Journal(this);
idManager = new DC_IdManager();
turnRules = new DequeImpl<>();
turnRules.add(new HungerRule());
initObjTypes();
ObjType cType = DataManager.getType(MacroManager.getCampaignName(), MACRO_OBJ_TYPES.CAMPAIGN);
campaign = new Campaign(this, cType, ref);
TimeMaster.setCampaign(campaign);
world = WorldGenerator.generateWorld(ref);
MacroManager.setWorldName(world.getName());
// Region region;
// region = world.getRegion(campaign.getProperty(MACRO_PROPS.REGION));
// ref.setID(MACRO_KEYS.REGION.toString(), region.getId());
// ref.setRegion(region);
pointMaster = new MapPointMaster();
routeMaster = new RouteMaster();
}
Aggregations