Пример #1
0
 @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);
 }
Пример #2
0
 public Float[] getInterval() {
   return interval.getValues();
 }