mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-12-03 19:35:38 +00:00
21 lines
360 B
C++
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
|