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 kwargs evaluation #1761

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

avanwinkle
Copy link
Collaborator

This PR refactors the Timer device to support event kwargs in placeholder evaluations for all timer control events.

Previously, most control events would drop the kwargs and evaluate placeholders on fixed values (e.g. player or machine vars). This PR passes the kwargs into the placeholder evaluation, so that events can be used to dynamically change timer ticks, tick intervals, and pause durations.

tick tock

Copy link

sonarcloud bot commented Feb 22, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@avanwinkle avanwinkle merged commit 9cf2891 into missionpinball:dev Feb 22, 2024
14 checks passed
@avanwinkle avanwinkle deleted the timer-kwargs-evaluation branch February 22, 2024 17:16
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