Files
Josh Goldberg c0151e1a3f Brought in recent module updates
MapsHandlr renamed to AreaSpawnr, TS builds upgraded to two-step (source
and distribution). Many commented modules.
2015-12-29 15:57:21 -05:00

37 lines
1.3 KiB
JavaScript

FullScreenPokemon.FullScreenPokemon.settings.runner = {
"interval": 1000 / 60,
"adjustFramerate": true,
"games": [
function () {
this.PixelDrawer.refillGlobalCanvas(
this.AreaSpawner.getArea().background
);
},
function () {
this.QuadsKeeper.determineAllQuadrants("Terrain", this.GroupHolder.getTerrainGroup());
this.QuadsKeeper.determineAllQuadrants("Scenery", this.GroupHolder.getSceneryGroup());
this.QuadsKeeper.determineAllQuadrants("Solid", this.GroupHolder.getSolidGroup());
},
function () {
this.maintainGeneric(this, this.GroupHolder.getTextGroup());
},
function () {
this.maintainGeneric(this, this.GroupHolder.getTerrainGroup());
},
function () {
this.maintainGeneric(this, this.GroupHolder.getSceneryGroup());
},
function () {
this.maintainGeneric(this, this.GroupHolder.getSolidGroup());
},
function () {
this.maintainCharacters(this, this.GroupHolder.getCharacterGroup());
},
function () {
this.maintainPlayer(this, this.player)
},
function () {
this.TimeHandler.handleEvents();
}
]
}