2020-01-25 01:42:27 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace SemiColinGames {
|
2020-03-09 16:22:33 +00:00
|
|
|
|
public class Clock {
|
2020-01-25 01:42:27 +00:00
|
|
|
|
public static void AddModelTime(double seconds) {
|
2020-01-25 17:03:26 +00:00
|
|
|
|
ModelTime += TimeSpan.FromSeconds(seconds);
|
2020-01-25 01:42:27 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static TimeSpan ModelTime {
|
2020-01-25 17:03:26 +00:00
|
|
|
|
get; private set;
|
2020-01-25 01:42:27 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|