Difference between revisions of "CMap"

From King Arthur's Gold Wiki
Jump to: navigation, search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
[[CMap]]
+
 
 
</onlyinclude>
 
</onlyinclude>
  
[[CMap]]
 
  
 
Methods:
 
Methods:
Line 26: 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 84: Line 77:
 
| {{:CMap::getColorLight|getColorLight}}
 
| {{:CMap::getColorLight|getColorLight}}
 
|-
 
|-
 +
|}
  
 +
Properties:
 +
 +
{| class="wikitableShiny" border="1"
 +
|-
 +
! '''Property'''
 +
! '''Type'''
 +
! '''Description'''
 +
|-
 +
| tilemapwidth
 +
| u32
 +
|
 +
|-
 +
| tilemapheight
 +
| u32
 +
|
 +
|-
 +
| tilesize
 +
| s32
 +
|
 +
|-
 
|}
 
|}
  
 
[[Category:Scripting]]
 
[[Category:Scripting]]
 
[[Category:Object Types]]
 
[[Category:Object Types]]

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