package { import flash.display.BitmapData; import flash.geom.Rectangle; // Describes the services that must be provided by tile map rendering // classes. A tile map rendering class must be able to draw a region of a // tile map based on a given tile set. For an example tile map // rendering class, see TileMapRenderer. public interface actionscript_misc_ITileMapRenderer { function setMap (newMap:actionscript_misc_TileMap):void function setTiles (newTiles:actionscript_misc_TileSet):void function getRenderedRegionByPixels (rect:Rectangle):BitmapData; function getRenderedRegionByCoords (startCol:int, startRow:int, numCols:int, numRows:int):BitmapData; } }