2020-01-25 01:42:27 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace SemiColinGames {
|
|
|
|
|
class Clock {
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|