Renamed Time.cpp to Manager.cpp for clarity

This commit is contained in:
2025-10-07 12:09:48 +03:00
parent fb82db0017
commit cc39fd31e8
4 changed files with 14 additions and 14 deletions

View File

@@ -121,7 +121,7 @@ void Video::Play() {
if (ID != 0) {
return;
}
ID = Time::hookVideo(std::bind(&Video::continueVideo, this));
ID = Manager::hookVideo(std::bind(&Video::continueVideo, this));
if (audioStreamNum != -1) {
Sound->Play();
}
@@ -133,7 +133,7 @@ void Video::Pause() {
if (ID == 0) {
return;
}
Time::unhookVideo(ID);
Manager::unhookVideo(ID);
if (audioStreamNum != -1) {
Sound->Pause();
}
@@ -170,7 +170,7 @@ void Video::continueVideo() {
clock =
(double)Sound->GetPlayedSampleCount() / audioEngine->GetSampleRate();
} else {
clock += Time::DeltaTime;
clock += Manager::DeltaTime;
}
// Load frame