Difference between revisions of "TMap"

From Soldat Community Wiki
Jump to: navigation, search
Line 1: Line 1:
[[TMap.RayCast]]
+
==Inheritance==
 +
*[[TMap]]
  
[[TMap.RayCastVector]]
+
==Description==
  
[[TMap.AddObject]]
+
Used to access information on player's field of vision, get a flag's pointer or creating new objects or spawnpoints on the map.  
  
[[TMap.AddSpawnPoint]]
+
==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>
  
[[TMap.Spawns]]
+
[[Category: Classes]]
 
 
[[TMap.RedFlag]]
 
 
 
[[TMap.BlueFlag]]
 
 
 
[[TMap.YellowFlag]]
 
 
 
[[TMap.OnBeforeMapChange]]
 
 
 
[[TMap.OnAfterMapChange]]
 

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 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
function ObjectsTActiveMapObject Byte
function SpawnsTActiveSpawnPoint Byte
function RedFlagTActiveFlag
function BlueFlagTActiveFlag
function YellowFlagTActiveFlag
function OnBeforeMapChangeTOnBeforeMapChangeEvent
function OnAfterMapChangeTOnAfterMapChangeEvent