title: Draw and move multiple image object at once in python
body: <p>I am new in Python and are self-learning, hence, much help is needed. I am trying to make use of the graphics.py package written by John Zelle to display, draw and move multiple image object at once.</p>
  
  <p>I have a class Enemy object which takes in speed, startX position an startY position. I also have a move method in this class which will take the startX position and add it to the speed.</p>
  
  <pre><code>class Enemy(object):
  
      def __init__(self, speed, startXpos, startYpos):
          self.speed = speed
          self.x = startXpos
          self.y = startYpos
  
      def move(self):
          self.x += self.speed
  </code></pre>
  
  <p>In the main method, I made use of graphics.py to draw the Image object of Enemy. All enemies have the same image and starts at the same start position, however the movement speed of the enemies is different.</p>
  
  <pre><code>    win = GraphWin("Enemy", 1000, 500)
      myEnemies = []
  
      e = Image(Point(50, 200), "enemy.gif")  # use speed as y position, too
      e.draw(win)  # add it to the window
      e2 = Image(Point(50, 200), "enemy.gif")  # use speed as y position, too
      e2.draw(win)  # add it to the window
      e3 = Image(Point(50, 200), "enemy.gif")  # use speed as y position, too
      e3.draw(win)  # add it to the window
  
      enemy1 = Enemy(40, 50, 0)
      enemy2= Enemy(50, 50, 0)
      enemy3 = Enemy(60,50, 0)
      myEnemies.append((enemy1,e))
      myEnemies.append((enemy2,e2))
      myEnemies.append((enemy3,e3))
  
      for i in range(40):  # main animation loop
          for enemy in myEnemies:  # loop through the enemy list
              enemy[0].move()  
              time.sleep(1)  # wait a second...
      win.close()
  </code></pre>
  
  <p>The image objects doesn't move. What am I doing wrong here?</p>