topical media & game development
actionscript-misc-ITileMapRenderer.ax
actionscript-misc-ITileMapRenderer.ax
[swf]
flex
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 @ax-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;
}
}
(C) Æliens
27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.