Moai SDK
2.0
|
Function List | |
clearTileFlags | |
fill | |
getTile | |
getTileFlags | |
setRow | |
setTile | |
setTileFlags | |
streamTilesIn | |
streamTilesOut | |
toggleTileFlags | |
Additional Inherited Members | |
Function List inherited from MOAIGridSpace | |
cellAddrToCoord | |
getCellAddr | |
getCellSize | |
getOffset | |
getSize | |
getTileLoc | |
getTileSize | |
initAxialHexGrid | |
initDiamondGrid | |
initHexGrid | |
initObliqueGrid | |
initRectGrid | |
locToCellAddr | |
locToCoord | |
setRepeat | |
setShape | |
setSize | |
wrapCoord | |
|
|
|
|
|
|
|
|
Reads tiles directly from a stream. Call this only after initializing the grid. Only the content of the tiles buffer is read.
function streamTilesIn ( MOAIGrid self, MOAIStream stream )
MOAIGrid | self |
MOAIStream | stream |
|
Writes tiles directly to a stream. Only the content of the tiles buffer is written.
function streamTilesOut ( MOAIGrid self, MOAIStream stream )
MOAIGrid | self |
MOAIStream | stream |