C# Class Artemis.Engine.Multiforms.MultiformManager

A class that records currently registered and active multiforms and controls updating them, rendering them, and other actions.
Exibir arquivo Open project: ArtemisEngine/Artemis-Engine Class Usage Examples

Public Methods

Method Description
Activate ( Multiform sender, string name, MultiformConstructionArgs args = null ) : void

Activate the multiform with the given name.

Deactivate ( Multiform multiform ) : void

Deactivate the given multiform instance.

Deactivate ( string name ) : void

Deactivate the multiform with the given name.

MultiformManager ( ) : System
SetProcessOrder ( string names ) : void

Set the global process order, which is the order multiforms are updated in. The global process order may only be set once before the game begins running.

Private Methods

Method Description
ApplyOrQueueEvent ( MultiformPostUpdateEvent evt ) : void
RegisterMultiform ( Multiform instance ) : void

Register a multiform instance with the given name.

RegisterMultiform ( Type multiformType ) : void

Register a multiform with the given type.

Render ( ) : void

Render all the multiforms.

Update ( ) : void

Update all the multiforms.

Method Details

Activate() public method

Activate the multiform with the given name.
public Activate ( Multiform sender, string name, MultiformConstructionArgs args = null ) : void
sender Multiform
name string
args MultiformConstructionArgs
return void

Deactivate() public method

Deactivate the given multiform instance.
public Deactivate ( Multiform multiform ) : void
multiform Multiform
return void

Deactivate() public method

Deactivate the multiform with the given name.
public Deactivate ( string name ) : void
name string
return void

MultiformManager() public method

public MultiformManager ( ) : System
return System

SetProcessOrder() public method

Set the global process order, which is the order multiforms are updated in. The global process order may only be set once before the game begins running.
public SetProcessOrder ( string names ) : void
names string
return void