Difference between revisions of "TMap"

From Soldat Community Wiki
Jump to: navigation, search
m (Fixed members section)
m (Description)
Line 4: Line 4:
 
==Description==
 
==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.  
+
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==
 
==Members==

Revision as of 14:34, 26 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 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[ID: Byte]: TActiveMapObjectR
property Spawns[ID: Byte]: TActiveSpawnPointR
property RedFlag: ByteR
property BlueFlag: ByteR
property YellowFlag: ByteR
property OnBeforeMapChange: TOnBeforeMapChangeEventRW
property OnAfterMapChange: TOnAfterMapChangeEventRW