#include <effect.h>
Inheritance diagram for Effect_movebars:
Public Member Functions | |
virtual void | run () |
Runs the effect. | |
void | param (std::vector< Bar > &bars, int barypos, int barwidth, int barheight, int valpha, int halpha) |
Protected Member Functions | |
virtual void | step (int value) |
A callback method that's called by animate() every frame. | |
Protected Attributes | |
std::vector< Bar > * | _bars |
int | _barypos |
int | _barwidth |
int | _barheight |
int | _valpha |
int | _halpha |
int | _maxdelta |
|
Runs the effect.
It takes no parameters because it should be possible to run an effect without knowing its type, only knowing how long it will take. It should be possible to call Implements Effect. |
|
A callback method that's called by
That means it shouldn't take long to execute. Before Implements Effect. |