mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-22 19:25:16 +00:00
18 lines
358 B
C
18 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
|