org.molwind.model
Interface Tile


public interface Tile

Tile interface represents information used for tile rendering.

Version:
1.0
Author:
Oliver Karch

Method Summary
 LayeredPosition getPosition()
          Get the layered coordinates of this tile.
 void writeTo(java.io.OutputStream output)
          Writes tile image data to the given output stream.
 

Method Detail

getPosition

LayeredPosition getPosition()
Get the layered coordinates of this tile.

Returns:
the layered position of this tile

writeTo

void writeTo(java.io.OutputStream output)
             throws java.io.IOException
Writes tile image data to the given output stream.

Parameters:
output - the output stream to write to
Throws:
java.io.IOException - is thrown upon i/o error


Copyright © 2008-2010. All Rights Reserved.