예제 #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 getRarity() {
   return rarity.getValue();
 }
예제 #3
0
 public float getMoveSpeed() {
   return moveSpeed.getValue();
 }
 public float getBoundsRadius() {
   return boundsRadius.getValue();
 }