BaseAnimator::warp now works regardless of the current position.
commit6aff8d2e63619f8fe33aebaaf898d1a2bf81255f
authorPaolo Capriotti <p.capriotti@gmail.com>
Tue, 7 Aug 2007 14:39:42 +0000 (7 16:39 +0200)
committerPaolo Capriotti <p.capriotti@gmail.com>
Tue, 7 Aug 2007 14:39:42 +0000 (7 16:39 +0200)
treed6343d49d6275bedc8b8a151da7712d492148659
parentd666d78af6ab92cca5839141acd386db5962c5cb
BaseAnimator::warp now works regardless of the current position.

This allows an animator to recover from an error, since the current position
doesn't need to be in sync with the sprite setup anymore for warp to work.
Plus, warp is now called by SimpleAnimator and DropAnimator to ensure that the
final sprite setup is in sync with the final position.
src/hlvariant/animator.impl.h
src/hlvariant/dropanimator.h