public void Tick(TimeSpan delta) { Elapsed = new ElapsedGameTime(delta); foreach (var system in Systems) { system.Update(this); } }
public static ElapsedGameTime operator +(ElapsedGameTime left, ElapsedGameTime right) { var result = new ElapsedGameTime(left._elapsed.Add(right._elapsed)); return(result); }