25 lines
586 B
Java
25 lines
586 B
Java
package speiger.src.coreengine.assets;
|
|
|
|
import java.awt.image.BufferedImage;
|
|
import java.io.BufferedReader;
|
|
import java.io.Closeable;
|
|
import java.io.IOException;
|
|
import java.io.InputStream;
|
|
|
|
import com.google.gson.JsonObject;
|
|
|
|
public interface IAsset extends Closeable
|
|
{
|
|
public AssetLocation getLocation();
|
|
|
|
public IAsset subAsset(String alternative);
|
|
|
|
public InputStream getStream() throws IOException;
|
|
|
|
public BufferedImage getTexture() throws Exception;
|
|
|
|
public BufferedReader getStringReader() throws IOException;
|
|
|
|
public JsonObject getJsonObject() throws IOException;
|
|
}
|