mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-16 16:35:10 +00:00
17 lines
358 B
C++
17 lines
358 B
C++
#pragma once
|
|
|
|
namespace al
|
|
{
|
|
struct KeyRepeatCtrl {
|
|
KeyRepeatCtrl(void);
|
|
void init(int, int);
|
|
void update(bool isUp, bool isDown);
|
|
void reset(void);
|
|
bool isUp(void) const;
|
|
bool isDown(void) const;
|
|
|
|
int maxIndex = 0;
|
|
int frameTime = 0;
|
|
bool isNoMove = true;
|
|
};
|
|
} // namespace al
|