mirror of
https://github.com/zeldaret/botw
synced 2026-05-28 00:15:56 -04:00
Add ksysDebugInput Singleton
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#include "KingSystem/ksysDebugInput.h"
|
||||
#include "KingSystem/System/VFR.h"
|
||||
|
||||
namespace ksys {
|
||||
|
||||
SEAD_SINGLETON_DISPOSER_IMPL(DebugInput)
|
||||
|
||||
void DebugInput::update() {
|
||||
if (mFlags.isOnBit(0)) {
|
||||
mLastDelta += VFR::instance()->getDeltaTime();
|
||||
while (mLastDelta > 30.0) {
|
||||
mLastDelta -= 30.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace ksys
|
||||
Reference in New Issue
Block a user