Show / Hide Table of Contents

Class EffectDuration

Static class containing special constants used for the duration of effects.

Inheritance
object
EffectDuration
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: GoRogue.Effects
Assembly: GoRogue.dll
Syntax
public static class EffectDuration

Fields

View Source

Infinite

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
View Source

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
  • View Source
In this article
Back to top Generated by DocFX