UtilityExtensions

class UtilityExtensions : System.Object

These utility extension methods don’t belong anywhere else.

public void Shuffle<T>(System.Collections.Generic.IList<T> list)

Shuffles the specified list in-place.

Type Parameters:
 
  • T
Parameters:
  • list (System.Collections.Generic.IList<T>) – The list to shuffle.
public Color ToPremultiplied(Color color)

Converts the color to it’s premultiplied format.

Parameters:
  • color (Microsoft.Xna.Framework.Color) – The color to convert.
Returns:

The premultiplied T:Microsoft.Xna.Framework.Color.