Difference between revisions of "TMap"

From Soldat Community Wiki
Jump to: navigation, search
Line 15: Line 15:
 
   <tr><td>function [[TMap.AddObject|AddObject]](Obj:TNewMapObject):TActiveMapObject</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.AddSpawnPoint|AddSpawnPoint]](Spawn:TNewSpawnPoint):TActiveSpawnPoint</td></tr>
   <tr><td>property [[TMap.Objects|Objects]]TActiveMapObject Byte</td></tr>
+
  <tr><td><br /></td></tr>
   <tr><td>property [[TMap.Spawns|Spawns]]TActiveSpawnPoint Byte</td></tr>
+
   <tr><td>property [[TMap.Objects|Objects]]: Byte</td></tr>R</td></tr>
   <tr><td>property [[TMap.RedFlag|RedFlag]]TActiveFlag</td></tr>
+
   <tr><td>property [[TMap.Spawns|Spawns]]: Byte</td></tr>R</td></tr>
   <tr><td>property [[TMap.BlueFlag|BlueFlag]]TActiveFlag</td></tr>
+
   <tr><td>property [[TMap.RedFlag|RedFlag]]: Byte</td></tr>R</td></tr>
   <tr><td>property [[TMap.YellowFlag|YellowFlag]]TActiveFlag</td></tr>
+
   <tr><td>property [[TMap.BlueFlag|BlueFlag]]: Byte</td></tr>R</td></tr>
   <tr><td>property [[TMap.OnBeforeMapChange|OnBeforeMapChange]]TOnBeforeMapChangeEvent</td></tr>
+
   <tr><td>property [[TMap.YellowFlag|YellowFlag]]: Byte</td></tr>R</td></tr>
   <tr><td>property [[TMap.OnAfterMapChange|OnAfterMapChange]]TOnAfterMapChangeEvent</td></tr>
+
   <tr><td>property [[TMap.OnBeforeMapChange|OnBeforeMapChange]]</td></tr>RW</td></tr>
 +
   <tr><td>property [[TMap.OnAfterMapChange|OnAfterMapChange]]</td></tr>RW</td></tr>
  
 
[[Category: Classes]]
 
[[Category: Classes]]

Revision as of 23:37, 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

R</td></tr> R</td></tr> R</td></tr> R</td></tr> R</td></tr> RW</td></tr> RW</td></tr>
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: Byte
property Spawns: Byte
property RedFlag: Byte
property BlueFlag: Byte
property YellowFlag: Byte
property OnBeforeMapChange
property OnAfterMapChange