title: Animation queue pygame
body: <p>I'm trying to implement some sort of animation or event queue such that somehow only the item that gets out of the queue does what it's supposed to do and the items in the queue don't do anything at all.</p>
  <p>Here is some pseudocode</p>
  <pre><code>queue = (obj1.animation1(), obj2.animation(), obj1.animation2)
  </code></pre>
  <p>The idea is that obj2.animation() and obj1.animation2 don't run until they get to the first position of the queue or they get popped off.</p>
  <p>Also main has to be running while the queue is executing the animations and popping them off.</p>