use of main.system.entity.ValueHelper in project Eidolons by IDemiurge.
the class XML_Transformer method renameValue.
public static void renameValue() {
String valueName = JOptionPane.showInputDialog(null, "Enter value to be renamed ", null);
VALUE val = new ValueHelper(Game.game).getValue(valueName);
String newName = JOptionPane.showInputDialog(null, "Enter value to be renamed ", null);
renameValue(val, newName);
}
use of main.system.entity.ValueHelper in project Eidolons by IDemiurge.
the class DC_Game method initMasters.
private void initMasters() {
master = new DC_GameMaster(this);
// if (!CoreEngine.isArcaneVault()) {
manager = new DC_GameManager(getState(), this);
manager.init();
// } //TODO FIX classdefnotfound!
this.setIdManager(new DC_IdManager(this));
combatMaster = createCombatMaster();
requirementsManager = new DC_RequirementsManager(this);
valueManager = new DC_ValueManager(this);
visionMaster = new VisionMaster(this);
mathManager = new DC_MathManager(this);
effectManager = new DC_EffectManager(this);
animationManager = new AnimationManager(this);
droppedItemManager = new DroppedItemManager(this);
valueHelper = new ValueHelper(this);
setTestMaster(new TestMasterContent(this));
conditionMaster = new DC_ConditionMaster();
logManager = new DC_LogManager(this);
rules = new DC_Rules(this);
dungeonMaster = createDungeonMaster();
battleMaster = createBattleMaster();
if (!CoreEngine.isCombatGame())
return;
musicMaster = MusicMaster.getInstance();
if (musicMaster.isRunning()) {
musicMaster.resume();
} else {
musicMaster.startLoop();
}
}
Aggregations