oakmound / oak

A pure Go game engine
Apache License 2.0
1.55k stars 83 forks source link

event: overhaul api #196

Closed 200sc closed 2 years ago

200sc commented 2 years ago

TODO before completion:

codecov-commenter commented 2 years ago

Codecov Report

Merging #196 (e27b187) into release/v4.0.0 (135b087) will decrease coverage by 0.84%. The diff coverage is 83.05%.

:exclamation: Current head e27b187 differs from pull request most recent head 8dd2b59. Consider uploading reports for the commit 8dd2b59 to get more accurate results

@@                Coverage Diff                 @@
##           release/v4.0.0     #196      +/-   ##
==================================================
- Coverage           92.39%   91.54%   -0.85%     
==================================================
  Files                 141      138       -3     
  Lines                6456     6222     -234     
==================================================
- Hits                 5965     5696     -269     
- Misses                430      459      +29     
- Partials               61       67       +6     
Impacted Files Coverage Δ
config.go 97.82% <ø> (-0.41%) :arrow_down:
default.go 0.00% <0.00%> (ø)
lifecycle.go 72.05% <ø> (ø)
mouse/events.go 0.00% <0.00%> (ø)
scene/map.go 100.00% <ø> (ø)
scene/scene.go 100.00% <ø> (ø)
debugstream/scopeHelper.go 75.90% <25.00%> (ø)
inputTracker.go 62.06% <58.82%> (-14.86%) :arrow_down:
inputLoop.go 41.42% <61.53%> (-20.34%) :arrow_down:
window.go 59.64% <61.76%> (-7.31%) :arrow_down:
... and 38 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more