C# Class Myre.Entities.Services.Service

An abstract class implementation of IService.
Inheritance: IService
Afficher le fichier Open project: martindevans/Myre

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposeManagedResources ) : void

Releases unmanaged and - optionally - managed resources

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

Draw() public méthode

Draws the service.
public Draw ( ) : void
Résultat void

Initialise() public méthode

Initialises the service
public Initialise ( Scene scene ) : void
scene Scene The scene to which this service belongs to.
Résultat void

Update() public méthode

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