Class EffectDuration
Static class containing special constants used for the duration of effects.
Inherited Members
Namespace: GoRogue.Effects
Assembly: GoRogue.dll
Syntax
public static class EffectDuration
Fields
View SourceInfinite
The value one should specify as the effect duration for an infinite effect, eg. an effect that will never expire or whose expiration time is arbitrary (for example, based on a condition other than the passing of time).
Declaration
public const int Infinite = -1
Field Value
Type | Description |
---|---|
int |
Instant
The value one should specify as the effect duration for an instantaneous effect, eg. an effect that only occurs when Trigger is manually called, and thus cannot be added to an effect trigger.
Declaration
public const int Instant = 0
Field Value
Type | Description |
---|---|
int |