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

            if (initalTick == 0)
            {
                initalTick = tick;
            }
            logic.Update(tick - initalTick, tick - initalTick);
            logic.Draw(false);
        }
Exemple #2
0
 protected override void Draw(GameTime gameTime)
 {
     logic.Draw(false);
     base.Draw(gameTime);
 }