use of org.terasology.engine.physics.CollisionGroupManager in project Terasology by MovingBlocks.
the class HeadlessEnvironment method setupCollisionManager.
@Override
protected void setupCollisionManager() {
CollisionGroupManager collisionGroupManager = new CollisionGroupManager();
context.put(CollisionGroupManager.class, collisionGroupManager);
context.get(TypeHandlerLibrary.class).addTypeHandler(CollisionGroup.class, new CollisionGroupTypeHandler(collisionGroupManager));
}
Aggregations