Curvy  8.4.0
MovementDirectionMethods Class Reference

Detailed Description

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...
 

Member Function Documentation

static MovementDirection FromInt ( int  value)
static

Converts the int to a direction. Positive int means Forward, negative means backward.

static MovementDirection GetOpposite ( this MovementDirection  value)
static

Returns the opposite value of the given direction value

Parameters
value
Returns
static int ToInt ( this MovementDirection  direction)
static

Converts the direction to an int. Positive int means Forward, negative means backward.


The documentation for this class was generated from the following file: