2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
10 #ifndef CORE__DROPANIMATOR_H
11 #define CORE__DROPANIMATOR_H
13 #include "baseanimator.h"
14 #include "component.h"
21 class TAGUA_EXPORT DropAnimator
: public BaseAnimator
{
25 const IColor
** m_players
;
27 virtual ~DropAnimator();
29 DropAnimator(IAnimator
* base
, TaguaAPI
* api
,
30 const INamer
* namer
, const IColor
** players
);
32 virtual AnimationPtr
warp(const IState
* state
);
33 virtual AnimationPtr
forward(const Move
& move
, const IState
* state
);
34 virtual AnimationPtr
back(const Move
& move
, const IState
* state
);
35 virtual void setWarper(IWarper
* warper
);
37 virtual void updatePool(const IState
* final
);
40 #endif // CORE__DROPANIMATOR_H