C# Класс Myre.Entities.Services.Service

An abstract class implementation of IService.
Наследование: IService
Показать файл Открыть проект

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

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Draw ( ) : void

Draws the service.

Initialise ( Scene scene ) : void

Initialises the service

Update ( float elapsedTime ) : void

Updates the service for a single frame.

Защищенные методы

Метод Описание
Dispose ( bool disposeManagedResources ) : void

Releases unmanaged and - optionally - managed resources

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void

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

Draws the service.
public Draw ( ) : void
Результат void

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

Initialises the service
public Initialise ( Scene scene ) : void
scene Scene The scene to which this service belongs to.
Результат void

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

Updates the service for a single frame.
public Update ( float elapsedTime ) : void
elapsedTime float The number of seconds which have elapsed since the previous frame.
Результат void