C# Класс Artemis.Engine.Multiforms.MultiformManager

A class that records currently registered and active multiforms and controls updating them, rendering them, and other actions.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

Activate() публичный Метод

Activate the multiform with the given name.
public Activate ( Multiform sender, string name, MultiformConstructionArgs args = null ) : void
sender Multiform
name string
args MultiformConstructionArgs
Результат void

Deactivate() публичный Метод

Deactivate the given multiform instance.
public Deactivate ( Multiform multiform ) : void
multiform Multiform
Результат void

Deactivate() публичный Метод

Deactivate the multiform with the given name.
public Deactivate ( string name ) : void
name string
Результат void

MultiformManager() публичный Метод

public MultiformManager ( ) : System
Результат System

SetProcessOrder() публичный Метод

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
Результат void