Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.meowers.cide.data
Class Tile  view Tile download Tile.java

java.lang.Object
  extended byorg.meowers.cide.data.GameObject
      extended byorg.meowers.cide.data.Tile
All Implemented Interfaces:
java.io.Serializable

public class Tile
extends GameObject
implements java.io.Serializable

A Tile is an element placed in a Map that represents one square of the game world.

Since:
pre-alpha
Version:
alpha-20206

Field Summary
private  java.lang.String name
           
private  SerialImage tileImage
           
 
Fields inherited from class org.meowers.cide.data.GameObject
dirty, GAME_DATA, MAP, MAX_TYPE, TILE, TILE_SET, type
 
Constructor Summary
Tile()
          Creates new empty Tile
 
Method Summary
 java.awt.image.BufferedImage getImage()
          Gets the BufferedImage to display when rendering this Tile.
 void setImage(java.awt.image.BufferedImage tileImage)
          Sets the image of the Tile.
 
Methods inherited from class org.meowers.cide.data.GameObject
getName, getType, isDirty, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private java.lang.String name

tileImage

private SerialImage tileImage
Constructor Detail

Tile

public Tile()
Creates new empty Tile

Method Detail

setImage

public void setImage(java.awt.image.BufferedImage tileImage)
Sets the image of the Tile.


getImage

public java.awt.image.BufferedImage getImage()
Gets the BufferedImage to display when rendering this Tile.