use of eidolons.test.debug.DebugMaster.HIDDEN_DEBUG_FUNCTIONS in project Eidolons by IDemiurge.
the class FunctionPanel method actionPerformed.
@Override
public void actionPerformed(final ActionEvent e) {
// cache
new Thread(new Runnable() {
@Override
public void run() {
DEBUG_FUNCTIONS func = new EnumMaster<DEBUG_FUNCTIONS>().retrieveEnumConst(DEBUG_FUNCTIONS.class, e.getActionCommand());
if (func == null) {
HIDDEN_DEBUG_FUNCTIONS hfunc = new EnumMaster<HIDDEN_DEBUG_FUNCTIONS>().retrieveEnumConst(HIDDEN_DEBUG_FUNCTIONS.class, e.getActionCommand());
master.executeHiddenDebugFunction(hfunc);
return;
}
master.executeDebugFunction(func);
}
}, "function " + e.getActionCommand()).start();
// Game.game.getManager().reset();
}
Aggregations