mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Update compound worlds on the fly
This commit is contained in:
parent
bf91156182
commit
34958c654f
@ -35,7 +35,7 @@ import java.util.concurrent.CompletableFuture;
|
|||||||
|
|
||||||
public class IrisEngineCompound implements EngineCompound {
|
public class IrisEngineCompound implements EngineCompound {
|
||||||
@Getter
|
@Getter
|
||||||
private final World world;
|
private World world;
|
||||||
|
|
||||||
private final AtomicRollingSequence wallClock;
|
private final AtomicRollingSequence wallClock;
|
||||||
|
|
||||||
@ -361,6 +361,11 @@ public class IrisEngineCompound implements EngineCompound {
|
|||||||
return defaultEngine;
|
return defaultEngine;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void updateWorld(World world) {
|
||||||
|
this.world = world;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void hotload() {
|
public void hotload() {
|
||||||
for(int i = 0; i < getSize(); i++)
|
for(int i = 0; i < getSize(); i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user