C# Class Artemis.Engine.Multiforms.MultiformManager

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

Deactivate() public méthode

Deactivate the given multiform instance.
public Deactivate ( Multiform multiform ) : void
multiform Multiform
Résultat void

Deactivate() public méthode

Deactivate the multiform with the given name.
public Deactivate ( string name ) : void
name string
Résultat void

MultiformManager() public méthode

public MultiformManager ( ) : System
Résultat System

SetProcessOrder() public méthode

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
Résultat void