14 lines
254 B
C#
14 lines
254 B
C#
using System;
|
|
|
|
namespace SemiColinGames {
|
|
public class Clock {
|
|
public static void AddModelTime(double seconds) {
|
|
ModelTime += TimeSpan.FromSeconds(seconds);
|
|
}
|
|
|
|
public static TimeSpan ModelTime {
|
|
get; private set;
|
|
}
|
|
}
|
|
}
|