rewritten tile system, added intial flood fill system

This commit is contained in:
Ondřej Hruška
2014-04-28 10:33:42 +02:00
parent 307d8d2b10
commit 7b862cb5c8
31 changed files with 651 additions and 696 deletions
+2 -21
View File
@@ -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;
}