ES-DE/es-core/src/animations/Animation.h
2024-07-10 18:04:40 +02:00

21 lines
360 B
C++

// SPDX-License-Identifier: MIT
//
// ES-DE Frontend
// Animation.h
//
// Animation base class.
//
#ifndef ES_CORE_ANIMATIONS_ANIMATION_H
#define ES_CORE_ANIMATIONS_ANIMATION_H
class Animation
{
public:
virtual ~Animation() {}
virtual int getDuration() const = 0;
virtual void apply(float t) = 0;
};
#endif // ES_CORE_ANIMATIONS_ANIMATION_H