Extension methods for MovementDirection
Static Public Member Functions | |
static MovementDirection | FromInt (int value) |
Converts the int to a direction. Positive int means Forward, negative means backward. More... | |
static MovementDirection | GetOpposite (this MovementDirection value) |
Returns the opposite value of the given direction value More... | |
static int | ToInt (this MovementDirection direction) |
Converts the direction to an int. Positive int means Forward, negative means backward. More... | |
|
static |
Converts the int to a direction. Positive int means Forward, negative means backward.
|
static |
Returns the opposite value of the given direction value
value |
|
static |
Converts the direction to an int. Positive int means Forward, negative means backward.