1 #ifndef XCHESS__DROPANIMATOR_H
2 #define XCHESS__DROPANIMATOR_H
6 template <typename Base
>
7 class DropAnimatorMixin
: public Base
{
8 typedef typename
Base::Variant Variant
;
9 using Base::m_cinterface
;
11 typedef typename
Base::API API
;
12 typedef typename
Base::Position Position
;
13 typedef typename
Base::Piece Piece
;
14 typedef typename
Base::Move Move
;
16 virtual void updatePool(const Position
& final
);
18 DropAnimatorMixin(API cinterface
);
20 virtual AnimationGroupPtr
warp(const Position
& final
);
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