internal void RunMainLoop() { long tick = DateTime.Now.Ticks; if (initalTick == 0) { initalTick = tick; } logic.Update(tick - initalTick, tick - initalTick); logic.Draw(false); }
protected override void Update(GameTime gameTime) { this.IsFixedTimeStep = false; logic.Update(gameTime.TotalRealTime.Ticks, gameTime.TotalGameTime.Ticks); }