Class DewGameObserverWithProgress
Inheritance
object
DewGameObserverWithProgress
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class DewGameObserverWithProgress : DewPersistentGameObserver
Properties
hero
Declaration
public Hero hero { get; }
Property Value
| Type | Description |
|---|---|
| Hero |
Methods
AchCompleteWhen(Func<bool>, float)
Declaration
protected void AchCompleteWhen(Func<bool> condition, float checkInterval = 2)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<TResult><bool> | condition | |
| float | checkInterval |
Complete()
Declaration
public void Complete()
GetCurrentProgress()
Get current progress of this observer.
Declaration
public virtual int GetCurrentProgress()
Returns
| Type | Description |
|---|---|
| int |
GetMaxProgress()
Get max progress of this observer. Defaults to 1. Must return consistent value.
Declaration
public virtual int GetMaxProgress()
Returns
| Type | Description |
|---|---|
| int |
OnComplete()
Declaration
public virtual void OnComplete()