Search in sources :

Example 1 with STD_MODE_ACTIONS

use of eidolons.entity.active.DC_ActionManager.STD_MODE_ACTIONS in project Eidolons by IDemiurge.

the class DC_KeyManager method initStdModeHotkeys.

private void initStdModeHotkeys() {
    // TODO [quick fix] - due to "either camp or defend", one removed always
    int i = 0;
    for (STD_MODE_ACTIONS action : STD_MODE_ACTIONS.values()) {
        String key = DataManager.getType(action.toString(), DC_TYPE.ACTIONS).getProperty(G_PROPS.HOTKEY);
        stdModeKeyMap.put(key, i);
        LogMaster.log(LogMaster.CORE_DEBUG, ">> mode hotkey " + key);
        if (action != STD_MODE_ACTIONS.Defend)
            i++;
    }
}
Also used : STD_MODE_ACTIONS(eidolons.entity.active.DC_ActionManager.STD_MODE_ACTIONS)

Aggregations

STD_MODE_ACTIONS (eidolons.entity.active.DC_ActionManager.STD_MODE_ACTIONS)1