Separate the notion of tile passability from tile objects since

passability is specific to the miso layer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@405 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2001-10-08 21:04:26 +00:00
parent d7fb56d203
commit 95ba5ef9cf
14 changed files with 293 additions and 213 deletions
@@ -1,12 +1,12 @@
//
// $Id: CharacterSprite.java,v 1.9 2001/09/13 19:10:26 mdb Exp $
// $Id: CharacterSprite.java,v 1.10 2001/10/08 21:04:25 shaper Exp $
package com.threerings.miso.scene;
import com.threerings.media.sprite.*;
import com.threerings.media.tile.Tile;
import com.threerings.miso.Log;
import com.threerings.miso.tile.MisoTile;
/**
* An <code>AmbulatorySprite</code> is a sprite that can face in one of
@@ -48,7 +48,7 @@ public class AmbulatorySprite extends Sprite implements Traverser
setFrames(_anims[_orient]);
}
public boolean canTraverse (Tile tile)
public boolean canTraverse (MisoTile tile)
{
// by default, passability is solely the province of the tile
return tile.passable;