Files
narya/src/java/com/threerings/miso/client/Traverser.java
T
Michael Bayne 2ad3f03a34 Changed MisoTile to BaseTile.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@654 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 22:17:42 +00:00

26 lines
689 B
Java

//
// $Id: Traverser.java,v 1.4 2001/11/27 22:17:42 mdb Exp $
package com.threerings.miso.scene;
import com.threerings.miso.tile.BaseTile;
/**
* The <code>Traverser</code> interface should be implemented by
* sprites that are going to traverse some path in a scene. This
* allows path determination to take into account any special
* abilities the traverser may have that alter the traversability of
* tiles.
*/
public interface Traverser
{
/**
* Return whether the traverser can traverse the specified tile.
*
* @param tile the tile to traverse.
*
* @return whether the tile is traversable.
*/
public boolean canTraverse (BaseTile tile);
}