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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user