package loader;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.SpriteSheet;
public class sprites
{
private sprites()
{
}
public static SpriteSheet load_sprite( final String type, final String name, final int width, final int height )
throws SlickException
{
return new SpriteSheet( file.relative_path( new String[] { "data", "textures", type }, name + ".png" ), width,
height );
}
}
|