|
|
Line 1: |
Line 1: |
− | ==Inheritance==
| + | '''[[TGame|Further info on TGame here]]''' |
− | *[[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==
| |
− | | |
− | <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><br /></td></tr>
| |
− | <tr><td>property [[TMap.Objects|Objects]][ID: Byte]: [[TActiveMapObject]]</td><td>R</td></tr>
| |
− | <tr><td>property [[TMap.Spawns|Spawns]][ID: Byte]: [[TActiveSpawnPoint]]</td><td>R</td></tr>
| |
− | <tr><td>property [[TMap.RedFlag|RedFlag]]: Byte</td><td>R</td></tr>
| |
− | <tr><td>property [[TMap.BlueFlag|BlueFlag]]: Byte</td><td>R</td></tr>
| |
− | <tr><td>property [[TMap.YellowFlag|YellowFlag]]: Byte</td><td>R</td></tr>
| |
− | <tr><td>property [[TMap.OnBeforeMapChange|OnBeforeMapChange]]: [[TOnBeforeMapChangeEvent]]</td><td>RW</td></tr>
| |
− | <tr><td>property [[TMap.OnAfterMapChange|OnAfterMapChange]]: [[TOnAfterMapChangeEvent]]</td><td>RW</td></tr>
| |
− | | |
− | [[Category: Classes]]
| |