Class Direction.Types
Enum representing Direction types. Each Direction instance has a Type field which contains the corresponding value from this enum. Useful for easy mapping of Direction types to a primitive type (for cases like a switch statement).
Namespace: SadRogue.Primitives
Assembly: TheSadRogue.Primitives.dll
Syntax
public sealed class Types : Enum
Fields
Down
Type for Down.
Declaration
public const Direction.Types Down
Field Value
Type | Description |
---|---|
Direction.Types |
DownLeft
Type for DownLeft.
Declaration
public const Direction.Types DownLeft
Field Value
Type | Description |
---|---|
Direction.Types |
DownRight
Type for DownRight.
Declaration
public const Direction.Types DownRight
Field Value
Type | Description |
---|---|
Direction.Types |
Left
Type for Left.
Declaration
public const Direction.Types Left
Field Value
Type | Description |
---|---|
Direction.Types |
None
Type for None.
Declaration
public const Direction.Types None
Field Value
Type | Description |
---|---|
Direction.Types |
Right
Type for Right.
Declaration
public const Direction.Types Right
Field Value
Type | Description |
---|---|
Direction.Types |
Up
Type for Up.
Declaration
public const Direction.Types Up
Field Value
Type | Description |
---|---|
Direction.Types |
UpLeft
Type for UpLeft.
Declaration
public const Direction.Types UpLeft
Field Value
Type | Description |
---|---|
Direction.Types |
UpRight
Type for UpRight.
Declaration
public const Direction.Types UpRight
Field Value
Type | Description |
---|---|
Direction.Types |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
Int32 |