GamePanel is updated.

getCurrentImage() method is added to the gameObject class.