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.
Afficher le fichier Open project: fragmer/fCraft Class Usage Examples

Private Properties

Свойство Type Description
Generate Map

Méthodes publiques

Méthode Description
CancelAsync ( ) : void

Sigals this task to asynchronously finish executing.

Méthodes protégées

Méthode Description
ReportProgress ( int progressPercent, [ statusString ) : void

Private Methods

Méthode Description
Generate ( ) : Map

Method Details

CancelAsync() public méthode

Sigals this task to asynchronously finish executing.
public CancelAsync ( ) : void
Résultat void

ReportProgress() protected méthode

protected ReportProgress ( int progressPercent, [ statusString ) : void
progressPercent int
statusString [
Résultat void