You've already forked FullScreenPokemon
mirror of
https://github.com/FullScreenShenanigans/FullScreenPokemon.git
synced 2026-04-28 12:58:40 -07:00
c0151e1a3f
MapsHandlr renamed to AreaSpawnr, TS builds upgraded to two-step (source and distribution). Many commented modules.
37 lines
1.3 KiB
JavaScript
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();
|
|
}
|
|
]
|
|
} |