forked from jaggedsoft/FullScreenMario
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunner.js
28 lines (28 loc) · 1.02 KB
/
runner.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FullScreenMario.FullScreenMario.settings.runner = {
"games": [
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
// );
}
]
}