com.threerings.miso.tile
Class BaseTile

java.lang.Object
  extended by com.threerings.media.tile.Tile
      extended by com.threerings.miso.tile.BaseTile
Direct Known Subclasses:
AutoFringer.FringeTile

public class BaseTile
extends Tile

Extends the tile class to add support for tile passability.

See Also:
BaseTileSet

Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.media.tile.Tile
Tile.Key
 
Field Summary
protected  boolean _passable
          Whether the tile is passable.
 
Fields inherited from class com.threerings.media.tile.Tile
_mirage, _totalTileMemory, key
 
Constructor Summary
BaseTile()
           
 
Method Summary
 boolean isPassable()
          Returns whether or not this tile can be walked upon by character sprites.
 void setPassable(boolean passable)
          Configures this base tile as passable or impassable.
 
Methods inherited from class com.threerings.media.tile.Tile
finalize, getEstimatedMemoryUsage, getHeight, getWidth, hitTest, paint, setImage, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_passable

protected boolean _passable
Whether the tile is passable.

Constructor Detail

BaseTile

public BaseTile()
Method Detail

isPassable

public boolean isPassable()
Returns whether or not this tile can be walked upon by character sprites.


setPassable

public void setPassable(boolean passable)
Configures this base tile as passable or impassable.