Skip to content
Daan van Yperen edited this page Sep 27, 2015 · 18 revisions

World is an isolated container for your entities, systems, components and managers.

Creating World

WorldConfiguration config = new WorldConfigurationBuilder()
	.dependsOn(MyPlugin.class)
	.with(
		new MyManagerA(),
		new MyManagerB(),
		new MySystemA(),
		new MySystemB(),
	).build();

World world = new World(config);

See WorldConfigurationBuilder

Upon world instantiation, all systems and managers initialized and injected. Instance entities and assets via your systems and managers.

Processing World

Call the following piece of code each frame to .

world.setDelta(delta);
world.process();
Clone this wiki locally