This simple animation demonstrates a nice way to work with animated sprites,
or sprites that have multiple images to flip through resulting in an animation.

In addition, it uses class-level state variables to easily transition between different
actions.  The Horses motions are actually described by 76 different images, but
those images only need to be loaded once.

Image source: http://www.reinerstilesets.de/