#ifndef BASE_TRANSITION_H__
#define BASE_TRANSITION_H__

#include <Arduino.h>
#include "ILI9488_t3.h"
#include "MathUtil.h"

class BaseTransition {
public:
	BaseTransition(){};

	virtual void init( ILI9488_t3 tft );
	virtual void restart( ILI9488_t3 tft, uint_fast16_t color );
	virtual void perFrame( ILI9488_t3 tft, FrameParams frameParams );
	virtual boolean isComplete();
};

void BaseTransition::init( ILI9488_t3 tft ) {
	// Extend me
}

void BaseTransition::restart( ILI9488_t3 tft, uint_fast16_t color ) {
	// Extend me
}

void BaseTransition::perFrame( ILI9488_t3 tft, FrameParams frameParams ) {
	// Extend me
}

boolean BaseTransition::isComplete() {
	// Extend me
	return false;
}

#endif
