Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.Utilities.vxUtil Class Reference

Collection of static utility methods. More...

Static Public Member Functions

static T NextEnumValue< T > (T currentValue)
 Returns the Next Value in an Enumeration, wrapping if it reaches the end.
 
static T PreviousEnumValue< T > (T currentValue)
 Returns the Previous Value in an Enumeration, wrapping if it reaches 0.
 
static IEnumerable< T > GetValues< T > ()
 Get's all values for a specific enum type.
 
static T GetRandomEnumValue< T > (T currentValue, int Seed)
 Returns a random Value in an Enumeration.
 
static string GetTextSpinner ()
 

Detailed Description

Collection of static utility methods.

Member Function Documentation

◆ GetRandomEnumValue< T >()

static T VerticesEngine.Utilities.vxUtil.GetRandomEnumValue< T > ( T currentValue,
int Seed )
static

Returns a random Value in an Enumeration.

Template Parameters
T
Parameters
currentValue
Returns

◆ GetValues< T >()

static IEnumerable< T > VerticesEngine.Utilities.vxUtil.GetValues< T > ( )
static

Get's all values for a specific enum type.

Template Parameters
T
Returns

◆ NextEnumValue< T >()

static T VerticesEngine.Utilities.vxUtil.NextEnumValue< T > ( T currentValue)
static

Returns the Next Value in an Enumeration, wrapping if it reaches the end.

Template Parameters
T
Parameters
currentValue
Returns

◆ PreviousEnumValue< T >()

static T VerticesEngine.Utilities.vxUtil.PreviousEnumValue< T > ( T currentValue)
static

Returns the Previous Value in an Enumeration, wrapping if it reaches 0.

Template Parameters
T
Parameters
currentValue
Returns

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