Ejemplo n.º 1
0
 public void Update()
 {
     foreach (IController controller in controllers)
     {
         controller.Update();
     }
     CommandScheduler.ExecuteAll();
     Level.Update();
     pointer.Update();
 }
Ejemplo n.º 2
0
        public void Update()
        {
            foreach (IController controller in controllers)
            {
                controller.Update();
            }
//            Console.Write("Command? ");

            CommandScheduler.ExecuteAll();
            Level.Update();
            pointer.Update();
            //HUD.midpointHit[HUD.currentPlayer] = false;
        }
Ejemplo n.º 3
0
        public void Update()
        {
            if (counter > HotDAMN.TICKS_UNTIL_TIMER_DECREMENTS && !(Game.state is SLevelComplete))
            {
                HUD.TIME--;
                counter = 0;
            }
            counter++;

            foreach (IController c in controllers)
            {
                c.Update();
            }
            CommandScheduler.ExecuteAll();
            Level.Update();
        }