Difference between revisions of "TMap"
DarkCrusade (talk | contribs) |
DarkCrusade (talk | contribs) |
||
Line 1: | Line 1: | ||
− | [[TMap | + | ==Inheritance== |
+ | *[[TMap]] | ||
− | + | ==Description== | |
− | + | Used to access information on player's field of vision, get a flag's pointer or creating new objects or spawnpoints on the map. | |
− | + | ==Members== | |
− | [[TMap.Objects]] | + | <code> |
+ | <table> | ||
+ | <tr><th>Member declaration</th><th>Access mode</th></tr> | ||
+ | <tr><td>function [[TMap.RayCast|RayCast]](X1,Y1,X2,Y2:Single; Player,Flag,Bullet,CheckCollider:Boolean; Team:Byte):Boolean</td></tr> | ||
+ | <tr><td>function [[TMap.RayCastVector|RayCastVector]](A,B:TVector; Player,Flag,Bullet,CheckCollider:Boolean; Team:Byte):Boolean</td></tr> | ||
+ | <tr><td>function [[TMap.AddObject|AddObject]](Obj:TNewMapObject):TActiveMapObject</td></tr> | ||
+ | <tr><td>function [[TMap.AddSpawnPoint|AddSpawnPoint]](Spawn:TNewSpawnPoint):TActiveSpawnPoint</td></tr> | ||
+ | <tr><td>function [[TMap.Objects|Objects]]TActiveMapObject Byte</td></tr> | ||
+ | <tr><td>function [[TMap.Spawns|Spawns]]TActiveSpawnPoint Byte</td></tr> | ||
+ | <tr><td>function [[TMap.RedFlag|RedFlag]]TActiveFlag</td></tr> | ||
+ | <tr><td>function [[TMap.BlueFlag|BlueFlag]]TActiveFlag</td></tr> | ||
+ | <tr><td>function [[TMap.YellowFlag|YellowFlag]]TActiveFlag</td></tr> | ||
+ | <tr><td>function [[TMap.OnBeforeMapChange|OnBeforeMapChange]]TOnBeforeMapChangeEvent</td></tr> | ||
+ | <tr><td>function [[TMap.OnAfterMapChange|OnAfterMapChange]]TOnAfterMapChangeEvent</td></tr> | ||
− | [[ | + | [[Category: Classes]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 23:32, 23 July 2013
Inheritance
Description
Used to access information on player's field of vision, get a flag's pointer or creating new objects or spawnpoints on the map.
Members
Member declaration | Access mode |
---|---|
function RayCast(X1,Y1,X2,Y2:Single; Player,Flag,Bullet,CheckCollider:Boolean; Team:Byte):Boolean | |
function RayCastVector(A,B:TVector; Player,Flag,Bullet,CheckCollider:Boolean; Team:Byte):Boolean | |
function AddObject(Obj:TNewMapObject):TActiveMapObject | |
function AddSpawnPoint(Spawn:TNewSpawnPoint):TActiveSpawnPoint | |
function ObjectsTActiveMapObject Byte | |
function SpawnsTActiveSpawnPoint Byte | |
function RedFlagTActiveFlag | |
function BlueFlagTActiveFlag | |
function YellowFlagTActiveFlag | |
function OnBeforeMapChangeTOnBeforeMapChangeEvent | |
function OnAfterMapChangeTOnAfterMapChangeEvent |