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

Timer Services #109

Merged
merged 13 commits into from
May 26, 2023
Merged

Timer Services #109

merged 13 commits into from
May 26, 2023

Conversation

scionaltera
Copy link
Owner

This began as a way to run fights but it's a little too soon since there aren't NPCs yet and I also realized what I actually need is a core timer service instead. So this is a generic timer system that works even when you have a cluster of servers instead of just one. From the game implementation perspective it's pretty simple because you just make a listener for a TimerEvent and run your code. Events are produced on a frequency of per second, minute, hour, and day.

@scionaltera scionaltera merged commit 6d5befb into master May 26, 2023
@scionaltera scionaltera deleted the fight-coordination branch May 26, 2023 02:26
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