Examples of WorldSerializerImpl


Examples of org.terasology.persistence.serializers.WorldSerializerImpl

public class WorldDumper {

    private WorldSerializer persisterHelper;

    public WorldDumper(EngineEntityManager entityManager, PrefabSerializer prefabSerializer) {
        this.persisterHelper = new WorldSerializerImpl(entityManager, prefabSerializer);
    }
View Full Code Here

Examples of org.terasology.persistence.serializers.WorldSerializerImpl

        EntitySystemBuilder builder = new EntitySystemBuilder();
        entityManager = builder.build(moduleManager.getEnvironment(), mock(NetworkSystem.class), new ReflectionReflectFactory());
        entityManager.getComponentLibrary().register(new SimpleUri("test", "gettersetter"), GetterSetterComponent.class);
        entityManager.getComponentLibrary().register(new SimpleUri("test", "string"), StringComponent.class);
        entityManager.getComponentLibrary().register(new SimpleUri("test", "integer"), IntegerComponent.class);
        worldSerializer = new WorldSerializerImpl(entityManager, new PrefabSerializer(entityManager.getComponentLibrary(), entityManager.getTypeSerializerLibrary()));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.