1 #ifndef XCHESS__DROPANIMATOR_H
2 #define XCHESS__DROPANIMATOR_H
6 template <typename Variant
>
7 class DropAnimator
: public SimpleAnimator
<Variant
> {
8 typedef SimpleAnimator
<Variant
> Base
;
10 using Base::m_cinterface
;
12 typedef typename
Base::API API
;
13 typedef typename
Base::Position Position
;
14 typedef typename
Base::Piece Piece
;
15 typedef typename
Base::Move Move
;
17 virtual void updatePool(const Position
& final
);
19 DropAnimator(API cinterface
);
21 virtual AnimationGroupPtr
forward(const Position
& final
, const Move
& move
);
22 virtual AnimationGroupPtr
back(const Position
& final
, const Move
& move
);
25 #endif // XCHESS__DROPANIMATOR_H