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

            return(result);
        }