Package org.terasology.persistence.typeHandling.extensionTypes

Examples of org.terasology.persistence.typeHandling.extensionTypes.PrefabTypeHandler


        serializationLibrary.add(Vector2f.class, new Vector2fTypeHandler());
        serializationLibrary.add(Vector3i.class, new Vector3iTypeHandler());
        serializationLibrary.add(CollisionGroup.class, new CollisionGroupTypeHandler());
        serializationLibrary.add(Region3i.class, new Region3iTypeHandler());
        serializationLibrary.add(EntityRef.class, new EntityRefTypeHandler(entityManager));
        serializationLibrary.add(Prefab.class, new PrefabTypeHandler());
        serializationLibrary.add(BehaviorTree.class, new AssetTypeHandler<>(AssetType.BEHAVIOR, BehaviorTree.class));
        return serializationLibrary;
    }
View Full Code Here


        library.add(Vector2i.class, new Vector2iTypeHandler());
        library.add(Rect2i.class, new Rect2iTypeHandler());
        library.add(Rect2f.class, new Rect2fTypeHandler());
        library.add(CollisionGroup.class, new CollisionGroupTypeHandler());
        library.add(Region3i.class, new Region3iTypeHandler());
        library.add(Prefab.class, new PrefabTypeHandler());
        library.add(Border.class, new BorderTypeHandler());
        library.add(TextureRegion.class, new TextureRegionTypeHandler());
        library.add(TextureRegionAsset.class, new TextureRegionTypeHandler());

        GsonBuilder gsonBuilder = new GsonBuilder()
View Full Code Here

TOP

Related Classes of org.terasology.persistence.typeHandling.extensionTypes.PrefabTypeHandler

Copyright © 2018 www.massapicom. 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.