net.sf.jame.core.util
Class Tile
java.lang.Object
net.sf.jame.core.util.Tile
- All Implemented Interfaces:
- java.io.Serializable
public class Tile
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Andrea Medeghini
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Tile
public Tile(IntegerVector2D imageSize,
IntegerVector2D tileSize,
IntegerVector2D tileOffset,
IntegerVector2D tileBorder)
- Parameters:
imageSize - tileSize - tileOffset - tileBorder -
getImageSize
public IntegerVector2D getImageSize()
- Returns:
- the imageSize
getTileBorder
public IntegerVector2D getTileBorder()
- Returns:
- the tileBorder
getTileOffset
public IntegerVector2D getTileOffset()
- Returns:
- the tileOffset
getTileSize
public IntegerVector2D getTileSize()
- Returns:
- the tileSize
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- See Also:
Object.toString()