Make the spot information available via the object tile; convert object

tile internals to use dimension and points.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2244 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-02-06 06:23:05 +00:00
parent 87209ce461
commit 9e46af6dce
3 changed files with 76 additions and 28 deletions
@@ -1,5 +1,5 @@
//
// $Id: ObjectTileSet.java,v 1.13 2003/02/04 02:59:47 mdb Exp $
// $Id: ObjectTileSet.java,v 1.14 2003/02/06 06:23:05 mdb Exp $
package com.threerings.media.tile;
@@ -161,6 +161,10 @@ public class ObjectTileSet extends SwissArmyTileSet
if (_priorities != null) {
tile.setPriority(_priorities[tileIndex]);
}
if (_xspots != null) {
tile.setSpot(_xspots[tileIndex], _yspots[tileIndex],
_sorients[tileIndex]);
}
return tile;
}