mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +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 MultiBurst burster;
|
||||||
private final IrisDimension dimension;
|
private final IrisDimension dimension;
|
||||||
private final World world;
|
private World world;
|
||||||
private final int height;
|
private final int height;
|
||||||
private final IrisDataManager data;
|
private final IrisDataManager data;
|
||||||
private final ParallaxWorld parallaxWorld;
|
private final ParallaxWorld parallaxWorld;
|
||||||
@ -32,6 +32,11 @@ public class EngineTarget
|
|||||||
this.burster = new MultiBurst(threads);
|
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)
|
public EngineTarget(World world, IrisDimension dimension, IrisDataManager data, int height, int threads)
|
||||||
{
|
{
|
||||||
this(world, dimension, data, height, false, threads);
|
this(world, dimension, data, height, false, threads);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user