Deleted STScheduler
This commit is contained in:
parent
12476c4021
commit
593169f77c
@ -42,7 +42,7 @@ import opensesim.util.idgenerator.IDGenerator;
|
||||
import opensesim.world.scheduler.EventListener;
|
||||
|
||||
import opensesim.world.scheduler.Scheduler;
|
||||
import opensesim.world.scheduler.StScheduler;
|
||||
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
@ -58,6 +58,11 @@ public class GodWorld implements GetJson, World {
|
||||
scheduler.startTimerTask(listener, t);
|
||||
}
|
||||
|
||||
@Override
|
||||
public long currentTimeMillis() {
|
||||
return scheduler.currentTimeMillis();
|
||||
}
|
||||
|
||||
public static final class JKEYS {
|
||||
|
||||
public static final String ASSETS = "assets";
|
||||
|
@ -28,8 +28,6 @@ package opensesim.world;
|
||||
import java.util.Collection;
|
||||
import opensesim.world.scheduler.EventListener;
|
||||
|
||||
import opensesim.world.scheduler.StScheduler;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author 7u83 <7u83@mail.ru>
|
||||
@ -72,4 +70,9 @@ public class RealWorld implements World {
|
||||
return godworld.randNextFloat(min, max);
|
||||
}
|
||||
|
||||
@Override
|
||||
public long currentTimeMillis() {
|
||||
return godworld.currentTimeMillis();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user