Beispiel #1
0
        internal void RunMainLoop()
        {
            long tick = DateTime.Now.Ticks;

            if (initalTick == 0)
            {
                initalTick = tick;
            }
            logic.Update(tick - initalTick, tick - initalTick);
            logic.Draw(false);
        }
Beispiel #2
0
 protected override void Update(GameTime gameTime)
 {
     this.IsFixedTimeStep = false;
     logic.Update(gameTime.TotalRealTime.Ticks, gameTime.TotalGameTime.Ticks);
 }