C# Class fCraft.MapGeneration.MapGeneratorState

Represents a single-use state object for a particular set of map generator parameters (IMapGeneratorParameters). Provides a synchronous method to carry out generation, asynchronous method to cancel generation, various properties to indicate progress, and an event to report progress changes.
ファイルを表示 Open project: fragmer/fCraft Class Usage Examples

Private Properties

Property Type Description
Generate Map

Public Methods

Method Description
CancelAsync ( ) : void

Sigals this task to asynchronously finish executing.

Protected Methods

Method Description
ReportProgress ( int progressPercent, [ statusString ) : void

Private Methods

Method Description
Generate ( ) : Map

Method Details

CancelAsync() public method

Sigals this task to asynchronously finish executing.
public CancelAsync ( ) : void
return void

ReportProgress() protected method

protected ReportProgress ( int progressPercent, [ statusString ) : void
progressPercent int
statusString [
return void