rename OpenRA.Support.Random aka XRandom to MersenneTwister

This commit is contained in:
Matthias Mailänder
2014-05-18 21:53:21 +02:00
parent d7c445b117
commit 187362e80e
15 changed files with 32 additions and 31 deletions

2
OpenRA.Game/Traits/Util.cs Executable file → Normal file
View File

@@ -96,7 +96,7 @@ namespace OpenRA.Traits
}
/* pretty crap */
public static IEnumerable<T> Shuffle<T>(this IEnumerable<T> ts, Support.Random random)
public static IEnumerable<T> Shuffle<T>(this IEnumerable<T> ts, MersenneTwister random)
{
var items = ts.ToList();
while (items.Count > 0)