All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.mathiewz.slick.loading.DeferredResource Maven / Gradle / Ivy

Go to download

The main purpose of this libraryis to modernize and maintain the slick2D library.

The newest version!
package com.github.mathiewz.slick.loading;

import java.io.IOException;

/**
 * A description of any class providing a resource handle that be loaded
 * at a later date (i.e. deferrred)
 *
 * @author kevin
 */
public interface DeferredResource {

    /**
     * Load the actual resource
     *
     * @throws IOException
     *             Indicates a failure to load the resource
     */
    public void load() throws IOException;

    /**
     * Get a description of the resource to be loaded
     *
     * @return The description of the resource to be loaded
     */
    public String getDescription();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy