sneak/Shared/Clock.cs

14 lines
261 B
C#

using System;
namespace SemiColinGames {
public static class Clock {
public static void AddModelTime(double seconds) {
ModelTime += TimeSpan.FromSeconds(seconds);
}
public static TimeSpan ModelTime {
get; private set;
}
}
}