- minor updates in ModelSample - added new media file: ANX Logo mesh (vertex colors, FBX-Format)
27 lines
469 B
C#
27 lines
469 B
C#
using System;
|
|
using System.Threading;
|
|
|
|
namespace ANX.Framework.NonXNA
|
|
{
|
|
internal static class ThreadHelper
|
|
{
|
|
public static void Sleep(int milliseconds)
|
|
{
|
|
#if WINDOWSMETRO
|
|
// TODO: search replacement
|
|
#else
|
|
Thread.Sleep(milliseconds);
|
|
#endif
|
|
}
|
|
|
|
public static void Sleep(TimeSpan timeSpan)
|
|
{
|
|
#if WINDOWSMETRO
|
|
// TODO: search replacement
|
|
#else
|
|
Thread.Sleep(timeSpan);
|
|
#endif
|
|
}
|
|
}
|
|
}
|