|
@ -2,14 +2,12 @@ |
|
|
|
|
|
|
|
|
namespace SemiColinGames { |
|
|
namespace SemiColinGames { |
|
|
class Clock { |
|
|
class Clock { |
|
|
private static TimeSpan modelTime = new TimeSpan(); |
|
|
|
|
|
|
|
|
|
|
|
public static void AddModelTime(double seconds) { |
|
|
public static void AddModelTime(double seconds) { |
|
|
modelTime += TimeSpan.FromSeconds(seconds); |
|
|
|
|
|
|
|
|
ModelTime += TimeSpan.FromSeconds(seconds); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public static TimeSpan ModelTime { |
|
|
public static TimeSpan ModelTime { |
|
|
get { return modelTime; } |
|
|
|
|
|
|
|
|
get; private set; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |