com.threerings.miso.client
Class TileOpApplicator
java.lang.Object
com.threerings.miso.client.TileOpApplicator
public class TileOpApplicator
- extends Object
Applies a TileOp to all tiles within a region.
|
Method Summary |
void |
applyToTiles(Rectangle region,
TileOp op)
Applies the supplied tile operation to all tiles that intersect the supplied screen
rectangle. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_metrics
protected MisoSceneMetrics _metrics
_tbounds
protected Rectangle _tbounds
- Used when rendering tiles.
TileOpApplicator
public TileOpApplicator(MisoSceneMetrics metrics)
applyToTiles
public void applyToTiles(Rectangle region,
TileOp op)
- Applies the supplied tile operation to all tiles that intersect the supplied screen
rectangle.