title: Pygame only advances on keypress
body: <p>I imagine this is a simple fix and have seen similar questions, but this is really frustrating me. Basically when you run the game, it only advances the simulation on a keypress, and not at a set framerate. </p>
  
  <p><a href="https://pastebin.com/aP6LsMMA" rel="nofollow noreferrer">https://pastebin.com/aP6LsMMA</a> </p>
  
  <p>The main code is:</p>
  
  <pre><code>pg.init()
  clock = pg.time.Clock()
  FPS = 10
  # ...
  Game = Control()
  while not Game.done:
      Game.main_loop()
      pg.display.update()
      clock.tick(FPS)
  pg.quit()
  </code></pre>
  
  <p>and the event handler method - within the Control class - is:</p>
  
  <pre><code>def event_handler(self):
          for event in pg.event.get():
              if event.type == pg.QUIT:
                  self.done = True
              elif event.type == pg.KEYDOWN:
                  self.scene.process_event(event)
  </code></pre>
  
  <p>The weird thing to me is that, at the bottom of the pastebin, is my old testing code that is not done with classes for Scenes/Control. However, to my eye it should work exactly the same. I've tried putting in the clock both in and out of the Control class to no avail.</p>
  
  <p>Any help (and general tips!) greatly appreciated.</p>
  
  <p>Thanks</p>