removed clock pref widget. clock prefs are definitively part of the lua theme.
[kboard.git] / src / variants / xchess / dropanimator.h
blobbeb848f21fee15f7358ef71e10747d9198aabe53
1 #ifndef XCHESS__DROPANIMATOR_H
2 #define XCHESS__DROPANIMATOR_H
4 #include "animator.h"
6 template <typename Base>
7 class DropAnimatorMixin : public Base {
8 typedef typename Base::Variant Variant;
9 using Base::m_cinterface;
10 protected:
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);
17 public:
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