Skip to content

Instantly share code, notes, and snippets.

public class EntityConstructor extends Constructor
{
World world;
PhysicsSystem physics;
public EntityConstructor(World world, PhysicsSystem physics)
{
this.world = world;
this.physics = physics;
this.yamlConstructors.put(new Tag("!entity"), new ConstructEntity());