Added what I called of actions to Sprite.
authorRicardo Cruz <rick2@aeiou.pt>
Thu, 12 Aug 2004 20:55:05 +0000 (20:55 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Thu, 12 Aug 2004 20:55:05 +0000 (20:55 +0000)
commitd88eb6fed051a3c6bea58857955ec5d902e63e04
treebf6049c73de50a4afabee396ddbb674d84173949
parent672a77f554976dbee45f3c2815c07eac2d90b2b3
Added what I called of actions to Sprite.
Instead of putting "left", "right", "jump-right"... as different sprites, we can now put them as one, and name them with different actions. To change to an action, just do set_action("jump-left"); , for instance.

Suggested by Ryan.

SVN-Revision: 1757
lib/special/sprite.cpp
lib/special/sprite.h