#ifndef BASE_TRANSITION_H__ #define BASE_TRANSITION_H__ #include #include "ILI9341_t3.h" #include "MathUtil.h" class BaseTransition { public: BaseTransition(){}; virtual void init( ILI9341_t3 tft ); virtual void restart( ILI9341_t3 tft, uint_fast16_t color ); virtual void perFrame( ILI9341_t3 tft, FrameParams frameParams ); virtual boolean isComplete(); }; void BaseTransition::init( ILI9341_t3 tft ) { // Extend me } void BaseTransition::restart( ILI9341_t3 tft, uint_fast16_t color ) { // Extend me } void BaseTransition::perFrame( ILI9341_t3 tft, FrameParams frameParams ) { // Extend me } boolean BaseTransition::isComplete() { // Extend me return false; } #endif