Difference between revisions of "TMap"

From Soldat Community Wiki
Jump to: navigation, search
m (Members: Reformatted table to be consistent with other tables)
m (Removed garbage old content left behind from my previous edit.)
Line 49: Line 49:
 
| align="center" | RW
 
| align="center" | RW
 
|}
 
|}
  <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]]
 
[[Category: Classes]]

Revision as of 15:14, 29 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.

This class is assigned to global variable "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
property Objects[ID: Byte ]: TActiveMapObject R
property Spawns[ID: Byte]: TActiveSpawnPoint R
property RedFlag: Byte R
property BlueFlag: Byte R
property YellowFlag: Byte R
property OnBeforeMapChange: TOnBeforeMapChangeEvent RW
property OnAfterMapChange: TOnAfterMapChangeEvent RW