Difference between revisions of "Object Types"
Shadlington (Talk | contribs) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 34: | Line 34: | ||
| {{:CControls}} | | {{:CControls}} | ||
|- | |- | ||
+ | | [[ConfigFile]] | ||
+ | | {{:ConfigFile}} | ||
+ | |- | ||
+ | ! | ||
! '''Attachments''' | ! '''Attachments''' | ||
|- | |- | ||
Line 42: | Line 46: | ||
| {{:AttachmentPoint}} | | {{:AttachmentPoint}} | ||
|- | |- | ||
+ | ! | ||
! '''Security''' | ! '''Security''' | ||
− | |||
|- | |- | ||
| [[CSecurity]] | | [[CSecurity]] | ||
Line 51: | Line 55: | ||
| {{:CSeclev}} | | {{:CSeclev}} | ||
|- | |- | ||
− | ! '''AI''' | + | ! |
− | + | ! '''AI''' | |
|- | |- | ||
| [[CBrain]] | | [[CBrain]] | ||
Line 60: | Line 64: | ||
| {{:BrainVars}} | | {{:BrainVars}} | ||
|- | |- | ||
− | ! '''GUI''' | + | ! |
− | + | ! '''GUI''' | |
|- | |- | ||
| [[CButton]] | | [[CButton]] | ||
Line 75: | Line 79: | ||
| {{:CHUD}} | | {{:CHUD}} | ||
|- | |- | ||
− | ! '''Map''' | + | ! |
− | + | ! '''Map''' | |
|- | |- | ||
| [[CMap]] | | [[CMap]] | ||
Line 84: | Line 88: | ||
| {{:CTileEffect}} | | {{:CTileEffect}} | ||
|- | |- | ||
+ | ! | ||
! '''Movement''' | ! '''Movement''' | ||
− | |||
|- | |- | ||
| [[CMovement]] | | [[CMovement]] | ||
Line 96: | Line 100: | ||
| {{:MovementVars}} | | {{:MovementVars}} | ||
|- | |- | ||
− | |||
! | ! | ||
+ | ! '''Shapes''' | ||
|- | |- | ||
| [[CShape]] | | [[CShape]] | ||
Line 108: | Line 112: | ||
| {{:ShapeVars}} | | {{:ShapeVars}} | ||
|- | |- | ||
− | |||
! | ! | ||
+ | ! '''Sprites''' | ||
|- | |- | ||
| [[CSprite]] | | [[CSprite]] | ||
Line 132: | Line 136: | ||
| {{:TeamTexture}} | | {{:TeamTexture}} | ||
|- | |- | ||
+ | ! | ||
! '''Respawns''' | ! '''Respawns''' | ||
− | |||
|- | |- | ||
| [[CRespawn]] | | [[CRespawn]] | ||
Line 144: | Line 148: | ||
| {{:CRespawnQueueActor}} | | {{:CRespawnQueueActor}} | ||
|- | |- | ||
+ | ! | ||
! '''Weapons''' | ! '''Weapons''' | ||
− | |||
|- | |- | ||
| [[CWeapon]] | | [[CWeapon]] | ||
Line 159: | Line 163: | ||
| {{:HitInfo}} | | {{:HitInfo}} | ||
|- | |- | ||
− | ! '''World''' | + | ! |
− | + | ! '''World''' | |
|- | |- | ||
| [[CRules]] | | [[CRules]] | ||
Line 177: | Line 181: | ||
| {{:CCamera}} | | {{:CCamera}} | ||
|- | |- | ||
+ | ! | ||
! '''General types''' | ! '''General types''' | ||
− | |||
|- | |- | ||
| [[dimension2d]] | | [[dimension2d]] | ||
Line 197: | Line 201: | ||
| [[string]] | | [[string]] | ||
| {{:string}} | | {{:string}} | ||
+ | |- | ||
+ | | [[array]] | ||
+ | | {{:array}} | ||
|- | |- | ||
|} | |} | ||
[[Category:Scripting]] | [[Category:Scripting]] |
Latest revision as of 16:54, 29 September 2012
Something here about the general concept of objects and their types.
This is a list of all of the object types provided by the KAG application (that is, not defined in a script).
Type | Description |
---|---|
CBlob |
CBlob is most common networked object in game that can be interacted in some way. |
CProperties | |
CPlayer |
|
CBitStream |
|
CNet | |
CInventory |
Represents an inventory - a container for CBlobs that is itself part of (owned by) a CBlob. |
Driver |
|
CControls | |
ConfigFile |
The object used to read/write the contents of .cfg files |
Attachments | |
CAttachment |
|
AttachmentPoint |
|
Security | |
CSecurity | |
CSeclev | |
AI | |
CBrain |
|
BrainVars |
|
GUI | |
CButton | |
CGridButton | |
CGridMenu | |
CHUD | |
Map | |
CMap |
|
CTileEffect |
|
Movement | |
CMovement | |
MovementConsts | |
MovementVars | |
Shapes | |
CShape | |
ShapeConsts | |
ShapeVars | |
Sprites | |
CSprite | |
Animation | |
CSpriteLayer | |
SpriteConsts | |
SpriteVars | |
PixelOffset | |
TeamTexture | |
Respawns | |
CRespawn | |
CRespawnPoint | |
CRespawnQueueActor | |
Weapons | |
CWeapon | |
WeaponConsts | |
WeaponVars | |
HitInfo | |
World | |
CRules | |
CTechnology | |
CTechTree | |
CTeam | |
CCamera | |
General types | |
dimension2d |
The Dimension2d type is used for setting the dimensions of things such as GUI elements. |
rect |
The recti type is used to create GUI elements among other things. There are two variances. |
SColor |
The SColor type is used in GUI functions such as DrawRectangle. |
Vec2f |
The Vec2f type is mainly used in the blob for positioning and getting the mouse coordinates. |
position2d |
The Position2d type is used for positioning GUI elements. |
string | String is used for storing strings of characters. |
array | Array |