Namespace GoRogue
Classes
DisjointSet
Basic representation of a disjoint set data structure.
DisjointSet<T>
An easier-to-use (but less efficient) variant of DisjointSet. This version takes actual objects of type T, and manages IDs for you automatically.
Effect<TTriggerArgs>
Class designed to represent any sort of in-game effect. This could be anything from a simple physical damage effect to a heal effect or permanent effects. These might include AOE effects, damage over time effects, or even potentially a special effect that simply boosts a stat.
EffectArgs
Default argument for any effect. Any class that is used as the template argument for an effect must inherit from this class.
EffectTrigger<TTriggerArgs>
Represents an "event" that can automatically trigger and manage one or more Effect<TTriggerArgs> instances, and acts as part of the implementation of duration in Effect.
IDGenerator
Class designed as a helper for situations where you need to generate and assign a unique integer to each instance of a class, eg. for a class implementing IHasID.
JoinedEventArgs
Event arguments for the SetsJoined event.
JoinedEventArgs<T>
Event arguments for the SetsJoined event.
Lines
Provides implementations of various (line-drawing) algorithms which are useful for for generating points closest to a line between two points on a grid.
Lines.Algorithm
Various supported line-drawing algorithms.
MathHelpers
Static class consisting of mathematical "helper" functions and constants -- things like angle unit conversions, and other helpful functions.
ReflectionAddons
Contains a series of functions that complement the reflection capabilities of C#, to conveniently allow for things like iterating over all types that a given type can be cast to.
Utility
Static class containing extension helper methods for various built-in C# classes, as well as a static helper method for "swapping" references.
Interfaces
IHasID
Interface for a class that has an ID value, typically used for items in a spatial map, or generally for purposes of hashing.
IHasLayer
Interface to be implemented by objects that will be added to a LayeredSpatialMap<T>.
IReadOnlyDisjointSet
Read-only representation of DisjointSet.
IReadOnlyDisjointSet<T>
Read-only representation of DisjointSet<T>.