Chesto
0.9
A declarative and element-based library for creating GUIs on homebrew'd consoles
src
Animation.hpp
1
#pragma once
2
#include <functional>
3
4
class
Animation
5
{
6
public
:
7
Animation
(
int
startTime,
int
duration, std::function<
void
(
float
)> onStep, std::function<
void
()> onFinish);
8
9
bool
isFinished();
10
bool
step();
11
int
startTime = 0;
12
int
duration = 0;
13
std::function<void(
float
)> onStep = NULL;
14
std::function<void()> onFinish = NULL;
15
};
Animation
Definition:
Animation.hpp:5
Generated by
1.9.4