14 lines
247 B
C#
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;
|
|
}
|
|
}
|
|
}
|