a
This commit is contained in:
parent
d163ceb291
commit
f6d7412744
94 changed files with 3836 additions and 1226 deletions
10
js/world.js
10
js/world.js
|
|
@ -5,7 +5,9 @@ class World { constructor() {
|
|||
this.h = 720;
|
||||
this.viewportW = 1000;
|
||||
this.viewportH = 720;
|
||||
this._worldSizeInitialized = false;
|
||||
this.time = 0;
|
||||
this._fixedSimulationAccumulator = 0;
|
||||
this.day = 1;
|
||||
this.elapsedDays = 0;
|
||||
this.paused = false;
|
||||
|
|
@ -76,9 +78,16 @@ class World { constructor() {
|
|||
resetRuntimeCollections() {
|
||||
this.tarinai = [];
|
||||
this.items = [];
|
||||
this.residues = [];
|
||||
this.residueById = new Map();
|
||||
this.residueTypeBuckets = new Map();
|
||||
this.residueCells = new Map();
|
||||
this.residueSerial = 0;
|
||||
this.residueDecayAccumulator = 0;
|
||||
this.ants = [];
|
||||
this.effects = [];
|
||||
this.logs = [];
|
||||
this.memorialRequests = [];
|
||||
this.events = window.TarinaiEvents || null;
|
||||
this.eventCounters = {};
|
||||
this.countsTimer = 0;
|
||||
|
|
@ -96,6 +105,7 @@ class World { constructor() {
|
|||
this.achievementNaturalSlaveGenerations = [];
|
||||
this.achievementNaturalKingGenerations = [];
|
||||
this.achievementPlayerPlacementCount = 0;
|
||||
this.achievementPlayerPlacedActiveCount = 0;
|
||||
this.achievementManualTarinaiAddedCount = 0;
|
||||
this.achievementDirectFeedCount = 0;
|
||||
this.achievementRobotCleanCount = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue