@Override public Pair<String, String> parse(String input) throws MDLNotFoundException, MDLParserErrorException { Pair<String, String> token = super.parse(input); String contents = parse(token.second, interval, rarity, moveSpeed, nonLooping); setInterval(interval.getValues()); setRarity(rarity.getValue()); setMoveSpeed(moveSpeed.getValue()); setNonLooping(nonLooping.getValue()); return new Pair<String, String>(token.first, contents); }
public float getRarity() { return rarity.getValue(); }
public float getMoveSpeed() { return moveSpeed.getValue(); }
public float getBoundsRadius() { return boundsRadius.getValue(); }