3D spaceshooter with online scoreboard, online demos, ship building. Now entirely defunct, but might be resurrected
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
sector/src/net/sector/level/loading/DirectoryLoader.java

28 lines
482 B

package net.sector.level.loading;
import java.io.InputStream;
/**
* Directory access interface
*
* @author Ondřej Hruška (MightyPork)
*/
public interface DirectoryLoader {
/**
* Get if file exists in this directory
*
* @param filename file name
* @return exists
*/
public boolean fileExists(String filename);
/**
* Open file as InputStream
*
* @param filename file name
* @return input stream
*/
public InputStream openFile(String filename);
}