Package org.terasology.asset

Examples of org.terasology.asset.Asset


        return item.getURI().toSimpleString();
    }

    @Override
    public T getFromString(String representation) {
        Asset asset = Assets.resolve(type, representation);
        if (asset != null && assetClass.isAssignableFrom(asset.getClass())) {
            return assetClass.cast(asset);
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.terasology.asset.Asset

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.