[READ-ONLY] Mirror of https://github.com/excaliburjs/Excalibur. 🎮 Your friendly TypeScript 2D game engine for the web 🗡️ excaliburjs.com
excalibur excaliburjs game-development game-engine game-framework gamedev games html5-canvas typescript

fix: #1891 Re-arrange repeat/repeatForever api + new tests (#1896) master

Closes #1891 Bonus Closes #635 ## Changes: - Changes the repeat/repeatForever api to be more clear (breaking change, no longer introspects the current action queue) ```typescript a.actions .easeTo(10, 100, 1000, EasingFunctions.EaseInCubic) .delay(250) .repeat(repeatBuilder => { // Specific actions to repeat repeatBuilder .easeTo(100, 100, 1000, EasingFunctions.EaseInCubic) .delay(250) .easeTo(10, 100, 1000, EasingFunctions.EaseInCubic) .delay(250) }, 2); // Repeats twice ``` - Light refactoring to actions - Separate action types into separate files - Change ActionContext to only support 1 actor at a time (multi actor unused after groups was deprecated long ago)