Difference between revisions of "TMap"

From Soldat Community Wiki
Jump to: navigation, search
Line 16: Line 16:
 
   <tr><td>function [[TMap.AddSpawnPoint|AddSpawnPoint]](Spawn:TNewSpawnPoint):TActiveSpawnPoint</td></tr>
 
   <tr><td>function [[TMap.AddSpawnPoint|AddSpawnPoint]](Spawn:TNewSpawnPoint):TActiveSpawnPoint</td></tr>
 
   <tr><td><br /></td></tr>
 
   <tr><td><br /></td></tr>
   <tr><td>property [[TMap.Objects|Objects]]: Byte</td></tr>R</td></tr>
+
   <tr><td>property [[TMap.Objects|Objects]]: Byte</td><td>R</td></tr>
   <tr><td>property [[TMap.Spawns|Spawns]]: Byte</td></tr>R</td></tr>
+
   <tr><td>property [[TMap.Spawns|Spawns]]: Byte</td><td>R</td></tr>
   <tr><td>property [[TMap.RedFlag|RedFlag]]: Byte</td></tr>R</td></tr>
+
   <tr><td>property [[TMap.RedFlag|RedFlag]]: Byte</td><td>R</td></tr>
   <tr><td>property [[TMap.BlueFlag|BlueFlag]]: Byte</td></tr>R</td></tr>
+
   <tr><td>property [[TMap.BlueFlag|BlueFlag]]: Byte</td><td>R</td></tr>
   <tr><td>property [[TMap.YellowFlag|YellowFlag]]: Byte</td></tr>R</td></tr>
+
   <tr><td>property [[TMap.YellowFlag|YellowFlag]]: Byte</td><td>R</td></tr>
   <tr><td>property [[TMap.OnBeforeMapChange|OnBeforeMapChange]]</td></tr>RW</td></tr>
+
   <tr><td>property [[TMap.OnBeforeMapChange|OnBeforeMapChange]]</td><td>RW</td></tr>
   <tr><td>property [[TMap.OnAfterMapChange|OnAfterMapChange]]</td></tr>RW</td></tr>
+
   <tr><td>property [[TMap.OnAfterMapChange|OnAfterMapChange]]</td><td>RW</td></tr>
  
 
[[Category: Classes]]
 
[[Category: Classes]]

Revision as of 23:38, 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 declarationAccess 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: ByteR
property Spawns: ByteR
property RedFlag: ByteR
property BlueFlag: ByteR
property YellowFlag: ByteR
property OnBeforeMapChangeRW
property OnAfterMapChangeRW