rewritten tile system, added intial flood fill system
This commit is contained in:
@@ -5,30 +5,11 @@ import java.io.IOException;
|
||||
|
||||
|
||||
/**
|
||||
* Binary ion object
|
||||
* Binary ion object, with a mark = saveable / loadable on it's own
|
||||
*
|
||||
* @author MightyPork
|
||||
*/
|
||||
public interface IonBinary {
|
||||
|
||||
/**
|
||||
* Load data from the input stream.
|
||||
*
|
||||
* @param in input stream
|
||||
* @throws IOException
|
||||
*/
|
||||
void load(IonInput in) throws IOException;
|
||||
|
||||
|
||||
/**
|
||||
* Store data to output stream (in such way that the load method will later
|
||||
* be able to read it).
|
||||
*
|
||||
* @param out Output stream
|
||||
* @throws IOException
|
||||
*/
|
||||
void save(IonOutput out) throws IOException;
|
||||
|
||||
public interface IonBinary extends IonBinaryHeadless {
|
||||
|
||||
/**
|
||||
* Get Ion mark byte.
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
package mightypork.util.files.ion;
|
||||
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
|
||||
/**
|
||||
* Binary ion object, with no mark = cannot be loaded on it's own
|
||||
*
|
||||
* @author MightyPork
|
||||
*/
|
||||
public interface IonBinaryHeadless {
|
||||
|
||||
/**
|
||||
* Load data from the input stream.
|
||||
*
|
||||
* @param in input stream
|
||||
* @throws IOException
|
||||
*/
|
||||
void load(IonInput in) throws IOException;
|
||||
|
||||
|
||||
/**
|
||||
* Store data to output stream (in such way that the load method will later
|
||||
* be able to read it).
|
||||
*
|
||||
* @param out Output stream
|
||||
* @throws IOException
|
||||
*/
|
||||
void save(IonOutput out) throws IOException;
|
||||
}
|
||||
Reference in New Issue
Block a user