C# Class Myre.Entities.Services.Service

An abstract class implementation of IService.
Inheritance: IService
显示文件 Open project: martindevans/Myre

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposeManagedResources ) : void

Releases unmanaged and - optionally - managed resources

Method Details

Dispose() public method

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

Dispose() protected method

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.
return void

Draw() public method

Draws the service.
public Draw ( ) : void
return void

Initialise() public method

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

Update() public method

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.
return void