C# Class Myre.Entities.Services.ProcessService

A class which manages the updating of processes.
Inheritance: Service, IProcessService
Datei anzeigen Open project: martindevans/Myre

Public Methods

Method Description
Add ( bool>.Func update ) : void
Add ( IProcess process ) : void

Adds the specified process.

ProcessService ( ) : System

Initializes a new instance of the ProcessService class.

Update ( float elapsedTime ) : void

Updates the all non-complete processes.

Method Details

Add() public method

public Add ( bool>.Func update ) : void
update bool>.Func
return void

Add() public method

Adds the specified process.
public Add ( IProcess process ) : void
process IProcess The process.
return void

ProcessService() public method

Initializes a new instance of the ProcessService class.
public ProcessService ( ) : System
return System

Update() public method

Updates the all non-complete processes.
public Update ( float elapsedTime ) : void
elapsedTime float The number of seconds which have elapsed since the previous frame.
return void