mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Support engine targets to hotswap worlds
This commit is contained in:
parent
ba91e433c3
commit
63f5c240a4
@ -14,7 +14,7 @@ public class EngineTarget
|
||||
{
|
||||
private final MultiBurst burster;
|
||||
private final IrisDimension dimension;
|
||||
private final World world;
|
||||
private World world;
|
||||
private final int height;
|
||||
private final IrisDataManager data;
|
||||
private final ParallaxWorld parallaxWorld;
|
||||
@ -32,6 +32,11 @@ public class EngineTarget
|
||||
this.burster = new MultiBurst(threads);
|
||||
}
|
||||
|
||||
public void updateWorld(World world)
|
||||
{
|
||||
this.world = world;
|
||||
}
|
||||
|
||||
public EngineTarget(World world, IrisDimension dimension, IrisDataManager data, int height, int threads)
|
||||
{
|
||||
this(world, dimension, data, height, false, threads);
|
||||
|
Loading…
x
Reference in New Issue
Block a user