2015-07-07 06:42:40 -07:00
|
|
|
FullScreenPokemon.FullScreenPokemon.settings.runner = {
|
2015-01-01 20:06:27 -05:00
|
|
|
"interval": 1000 / 60,
|
|
|
|
|
"adjustFramerate": true,
|
|
|
|
|
"games": [
|
|
|
|
|
function () {
|
2015-01-04 02:28:36 -05:00
|
|
|
this.PixelDrawer.refillGlobalCanvas(
|
2015-01-03 01:12:32 -05:00
|
|
|
this.MapsHandler.getArea().background
|
|
|
|
|
);
|
2015-01-04 02:28:36 -05:00
|
|
|
//this.PixelDrawer.refillQuadrantGroups(
|
|
|
|
|
// this.QuadsKeeper.getQuadrantRows(),
|
|
|
|
|
// this.MapsHandler.getArea().background
|
|
|
|
|
//);
|
2015-01-03 01:12:32 -05:00
|
|
|
},
|
|
|
|
|
function () {
|
|
|
|
|
this.QuadsKeeper.determineAllQuadrants("Terrain", this.GroupHolder.getTerrainGroup());
|
|
|
|
|
this.QuadsKeeper.determineAllQuadrants("Scenery", this.GroupHolder.getSceneryGroup());
|
|
|
|
|
this.QuadsKeeper.determineAllQuadrants("Solid", this.GroupHolder.getSolidGroup());
|
2015-01-02 19:47:15 -05:00
|
|
|
},
|
2015-01-19 18:51:59 -05:00
|
|
|
function () {
|
2015-03-10 21:09:05 -04:00
|
|
|
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());
|
2015-01-19 18:51:59 -05:00
|
|
|
},
|
2015-01-02 19:47:15 -05:00
|
|
|
function () {
|
|
|
|
|
this.maintainCharacters(this, this.GroupHolder.getCharacterGroup());
|
|
|
|
|
},
|
2015-01-06 07:45:34 -05:00
|
|
|
function () {
|
|
|
|
|
this.maintainPlayer(this, this.player)
|
|
|
|
|
},
|
2015-01-02 19:47:15 -05:00
|
|
|
function () {
|
|
|
|
|
this.TimeHandler.handleEvents();
|
2015-01-01 20:06:27 -05:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|