C# Class Ensage.Common.Combo.Combo

Inheritance: IDisposable
Exibir arquivo Open project: EnsageSharp/Ensage.Common

Public Methods

Method Description
Cancel ( ) : void

Cancels the execution of the current combo.

Combo ( Task>.Func comboFunction, Key key ) : System

Creates a combo.

Dispose ( ) : void
Execute ( ) : Task

Executes your combo until it's either finished or canceled.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Finish ( ) : void
Game_OnWndProc ( WndEventArgs args ) : void
Prepare ( ) : void

Method Details

Cancel() public method

Cancels the execution of the current combo.
public Cancel ( ) : void
return void

Combo() public method

Creates a combo.
public Combo ( Task>.Func comboFunction, Key key ) : System
comboFunction Task>.Func This function will be executed while the key is pressed.
key Key While this key is pressed your combofunction will be executed.
return System

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Execute() public method

Executes your combo until it's either finished or canceled.
public Execute ( ) : Task
return Task