Refactor...
This commit is contained in:
18
src/playback.h
Normal file
18
src/playback.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
namespace anm2ed::playback
|
||||
{
|
||||
class Playback
|
||||
{
|
||||
public:
|
||||
float time{};
|
||||
bool isPlaying{};
|
||||
bool isFinished{};
|
||||
|
||||
void toggle();
|
||||
void clamp(int length);
|
||||
void tick(int fps, int length, bool isLoop);
|
||||
void decrement(int length);
|
||||
void increment(int length);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user