Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Time System #4

Merged
merged 1 commit into from
Jun 8, 2024
Merged

feat: Time System #4

merged 1 commit into from
Jun 8, 2024

Conversation

BenjaminHalko
Copy link
Owner

  • Added a time system

@BenjaminHalko BenjaminHalko merged commit 93d8641 into main Jun 8, 2024
1 of 2 checks passed
@BenjaminHalko BenjaminHalko deleted the time_system branch June 8, 2024 19:37
- Added a time system
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

#include <chrono>

class TimeSystem : public System {
static std::chrono::time_point<std::chrono::steady_clock> _frameStart;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: variable '_frameStart' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]

tem {
                                                                     ^

src/engine/systems/timeSystem.h Show resolved Hide resolved
BenjaminHalko added a commit that referenced this pull request Jun 8, 2024
@BenjaminHalko BenjaminHalko restored the time_system branch June 8, 2024 19:49
@BenjaminHalko BenjaminHalko deleted the time_system branch June 8, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant