1
0
forked from sent/waves
waves/public/assets/g/mario/settings/runner.js
2025-04-09 17:11:14 -05:00

33 lines
1.2 KiB
JavaScript

FullScreenMario.FullScreenMario.settings.runner = {
"games": [
function () {
this.DeviceLayer.checkNavigatorGamepads();
this.DeviceLayer.activateAllGamepadTriggers();
},
function () {
this.QuadsKeeper.determineAllQuadrants("Scenery", this.GroupHolder.getSceneryGroup());
this.QuadsKeeper.determineAllQuadrants("Text", this.GroupHolder.getTextGroup());
// Should delete out-of-bounds stuff here
},
function () {
this.maintainSolids(this, this.GroupHolder.getSolidGroup());
},
function () {
this.maintainCharacters(this, this.GroupHolder.getCharacterGroup());
},
function () {
this.maintainPlayer(this, this.player);
},
function () {
this.TimeHandler.handleEvents();
},
function () {
this.PixelDrawer.refillGlobalCanvas(this.MapsHandler.getArea().background);
// this.PixelDrawer.refillQuadrantGroups(
// this.QuadsKeeper.getQuadrantRows(),
// this.MapsHandler.getArea().background
// );
}
]
};