TMap

From Soldat Community Wiki
Revision as of 23:46, 23 July 2013 by Falcon (talk | contribs) (Fixed members section)
Jump to: navigation, search

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[ID: Byte]: TActiveMapObjectR
property Spawns[ID: Byte]: TActiveSpawnPointR
property RedFlag: ByteR
property BlueFlag: ByteR
property YellowFlag: ByteR
property OnBeforeMapChange: TOnBeforeMapChangeEventRW
property OnAfterMapChange: TOnAfterMapChangeEventRW