sneak/Shared/Clock.cs
Colin McMillen 95acee959d clean up private fields/properties
GitOrigin-RevId: d2caf0d5d774e50ba4a2eb9cdc2a40ca28a094ce
2020-02-13 14:51:47 -05:00

14 lines
247 B
C#

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