Package net.sf.jiga.xtended.impl.game

Examples of net.sf.jiga.xtended.impl.game.InteractiveModel


    public void loadDefaults(boolean GL) {
        this.imodel = loadTestKeyboardModel(GL ? _loadTestKeyboardModel_x() : _loadTestKeyboardModel_i());
    }

    private InteractiveModel _loadTestKeyboardModel_i() {
        InteractiveModel imodel = new InteractiveModel("/net/sf/jiga/xtended/impl/arrows", SpritesChar.HIGH, 10, new Dimension(100, 100), new Dimension(80, 80), new int[][]{
                    {0, 0}, {1, 1}, {2, 2}, {3, 3}, {4, 4}, {5, 5}, {6, 6}, {7, 7}, {8, 8}
                }, new String[]{}, new String[]{});
        return imodel;
    }
View Full Code Here


    private final static List<Map<String, Object>> playersAttr = Collections.synchronizedList(new Vector<Map<String, Object>>());
    public final static String SUPERMOVEST1 = "super moves type 1";
    public final static String SUPERMOVEST2 = "super moves type 2";

    static void buildFightersKeyEventsMaps() {
        InteractiveModel model;
        Vector<KeyEventWrapper> seq;
        HashMap<String, Object> map;
        map = new HashMap<String, Object>();
        map.put("player", id.ONE);
        map.put("eventMapTYPE", SUPERMOVEST1);
        playersAttr.add(map);
        map = new HashMap<String, Object>();
        map.put("player", id.TWO);
        map.put("eventMapTYPE", SUPERMOVEST1);
        playersAttr.add(map);
        map = new HashMap<String, Object>();
        map.put("player", id.ONE);
        map.put("eventMapTYPE", SUPERMOVEST2);
        playersAttr.add(map);
        map = new HashMap<String, Object>();
        map.put("player", id.TWO);
        map.put("eventMapTYPE", SUPERMOVEST2);
        playersAttr.add(map);
        for (Map<String, Object> attr : playersAttr) {
            model = new InteractiveModel("plrMvs" + attr.get("player"),
                    0, 0, new Dimension(0, 0), new Dimension(0, 0),
                    new int[][]{{}}, new String[]{}, new String[]{});
            model.animsID_default = _defaultAction;
            /**
             * timing range
             */
            model.addKeyEventWrapperMapping(new KeyEventWrapper(0, -1, -1, 3000), "");
            /**
             * common moves
             */
            model.addKeyEventWrapperMapping(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED), "stance forwards");
            model.addKeyEventWrapperMapping(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED), "stance backwards");
            model.addKeyEventWrapperMapping(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED), "stance crouch");
            model.addKeyEventWrapperMapping(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED), "stance jump");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards");
            model.addKeyEventWrapperMapping(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED), "stance LP");
            model.addKeyEventWrapperMapping(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED), "stance MP");
            model.addKeyEventWrapperMapping(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED), "stance HP");
            model.addKeyEventWrapperMapping(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED), "stance LK");
            model.addKeyEventWrapperMapping(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED), "stance MK");
            model.addKeyEventWrapperMapping(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED), "stance HK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards LP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards LP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards MP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards MP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards HP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards HP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards LK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards LK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards MK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards MK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards HK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards HK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch block H");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch block H");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch LP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch LP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch MP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch MP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch HP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch HP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch LK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch LK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch MK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch MK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch HK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance crouch HK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump LP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump LP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump MP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump MP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump HP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump HP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump LK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump LK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump MK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump MK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump HK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump HK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards LP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards LP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards MP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards MP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards HP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards HP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards LK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards LK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards MK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards MK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards HK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump backwards HK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards LP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards LP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards MP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards MP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards HP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards HP");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards LK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards LK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards MK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards MK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards HK");
            seq = new Vector<KeyEventWrapper>();
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_up")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
            seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
            model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance jump forwards HK");
            /**
             * super moves
             */
            if (SUPERMOVEST1.equals(attr.get("eventMapTYPE"))) {
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance super LK");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance super LK");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance super MK");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance super MK");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance super HK");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance super HK");
            } else if (SUPERMOVEST2.equals(attr.get("eventMapTYPE"))) {
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LK")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance super LK");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MK")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance super MK");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HK")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance super HK");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards super LP");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards super MP");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance forwards super HP");
            }
            /**
             * super combo moves
             */
            /**
             * fireballs
             */
            if (SUPERMOVEST1.equals(attr.get("eventMapTYPE"))) {
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance fireball super L");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance fireball super L");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance fireball super M");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance fireball super M");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance fireball super H");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_PRESSED, 2000));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_backwards")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance fireball super H");
            } else if (SUPERMOVEST2.equals(attr.get("eventMapTYPE"))) {
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_LP")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance fireball super L");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_MP")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance fireball super M");
                seq = new Vector<KeyEventWrapper>();
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_forwards")), KeyEvent.KEY_PRESSED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_down")), KeyEvent.KEY_RELEASED));
                seq.add(new KeyEventWrapper(0, _keyCodeMap.get(key.valueOf(attr.get("player") + "_HP")), KeyEvent.KEY_PRESSED));
                model.addKeyEventWrapperMapping(new KeyEventWrapper(seq), "stance fireball super H");
            }
            registerKEMap((id) attr.get("player"), (String) attr.get("eventMapTYPE"), model);
        }
    }
View Full Code Here

TOP

Related Classes of net.sf.jiga.xtended.impl.game.InteractiveModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.