Difference between revisions of "CMap"

From King Arthur's Gold Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 25: Line 25:
 
| [[CMap::getTileSpacePosition|getTileSpacePosition]]
 
| [[CMap::getTileSpacePosition|getTileSpacePosition]]
 
| {{:CMap::getTileSpacePosition|getTileSpacePosition}}
 
| {{:CMap::getTileSpacePosition|getTileSpacePosition}}
|-
 
| [[CMap::getTileOffset|getTileOffset]]
 
| {{:CMap::getTileOffset|getTileOffset}}
 
|-
 
| [[CMap::GetTileSpacePosition|GetTileSpacePosition]]
 
| {{:CMap::GetTileSpacePosition|GetTileSpacePosition}}
 
 
|-
 
|-
 
| [[CMap::getAlignedWorldPos|getAlignedWorldPos]]
 
| [[CMap::getAlignedWorldPos|getAlignedWorldPos]]
Line 93: Line 87:
 
! '''Description'''
 
! '''Description'''
 
|-
 
|-
| Property1Name
+
| tilemapwidth
| Property1Type
+
| u32
 +
|
 +
|-
 +
| tilemapheight
 +
| u32
 
|  
 
|  
 
|-
 
|-
| Property2Name
+
| tilesize
| Property2Type
+
| s32
 
|  
 
|  
 
|-
 
|-

Latest revision as of 22:49, 7 September 2012



Methods:

Method Description
setTile


getTile


GetTileWorldPosition


getTileOffset


getTileSpacePosition


getAlignedWorldPos


isBuildableAtPos


HasSupportAtPos


DestroyTile


getEffect


setEffect


isTileSolid


rayCastSolid


inInWater


SplashEffect


setWaterLevel


getLandHeightAtX


GetLandYatX


IsBelowLand


SetDayTime


getDayTime


getColorLight


Properties:

Property Type Description
tilemapwidth u32
tilemapheight u32
tilesize s32