C# Class GameEntities.GameWorld

Inheritance: Engine.World
Exibir arquivo Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Private Properties

Property Type Description
DoActionsAfterMapCreated void
ServerOrSingle_CreatePlayerUnit Unit
ServerOrSingle_CreatePlayerUnit Unit

Public Methods

Method Description
GameWorld ( ) : System
SetShouldChangeMap ( string mapName, string spawnPointName, PlayerCharacter playerCharacterInformation ) : void

Protected Methods

Method Description
OnDestroy ( ) : void

Overridden from Engine.EntitySystem.Entity.OnDestroy().

OnPostCreate ( bool loaded ) : void

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).

OnTick ( ) : void

Overridden from Engine.EntitySystem.Entity.OnTick().

Private Methods

Method Description
DoActionsAfterMapCreated ( ) : void
ServerOrSingle_CreatePlayerUnit ( PlayerManager player ) : Unit
ServerOrSingle_CreatePlayerUnit ( PlayerManager player, SpawnPoint spawnPoint ) : Unit

Method Details

GameWorld() public method

public GameWorld ( ) : System
return System

OnDestroy() protected method

Overridden from Engine.EntitySystem.Entity.OnDestroy().
protected OnDestroy ( ) : void
return void

OnPostCreate() protected method

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
return void

OnTick() protected method

Overridden from Engine.EntitySystem.Entity.OnTick().
protected OnTick ( ) : void
return void

SetShouldChangeMap() public method

public SetShouldChangeMap ( string mapName, string spawnPointName, PlayerCharacter playerCharacterInformation ) : void
mapName string
spawnPointName string
playerCharacterInformation PlayerCharacter
return void