sneak/Shared/Clock.cs

14 lines
254 B
C#

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