[FEATURE] New random system

This commit is contained in:
Emmastone
2016-11-01 22:52:52 +00:00
parent 356764fe42
commit e7716b5612
9 changed files with 91 additions and 53 deletions
@@ -1,10 +1,8 @@
package org.parabot.randoms.dreamscape;
import org.parabot.core.Context;
import org.parabot.core.Core;
import org.parabot.core.reflect.RefClass;
import org.parabot.core.reflect.RefField;
import org.parabot.environment.scripts.randoms.Random;
import org.parabot.environment.randoms.Random;
import org.parabot.environment.randoms.RandomType;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
@@ -53,4 +51,9 @@ public class SerialBanAvoider implements Random {
public String getServer() {
return "dreamscape";
}
@Override
public RandomType getRandomType() {
return RandomType.ON_SERVER_START;
}
}