Beispiel #1
0
    runContinuousSystems(timeDelta) {
        super.runContinuousSystems(timeDelta);

        this.fire.progress(timeDelta);
        this.healing.progress(timeDelta);
        this.atmosphere.progress(timeDelta);
        this.timedTransformations.progress(timeDelta);
    }
Beispiel #2
0
 finalize() {
     super.finalize();
     this.atmosphere.refresh();
     for (let entity of this.entities) {
         entity.with(Components.Observer, (observer) => {
             observer.knowledge.getGrid(this).familiarize();
         });
     }
 }
Beispiel #3
0
    runReactiveSystems(action) {
        super.runReactiveSystems(action);

        this.collision.run(action);
        this.combat.run(action);
        this.fire.run(action);
        this.upgradeOnDescent.run(action);
        this.winning.run(action);
        this.bullets.run(action);
        this.autoPickup.run(action);
        this.atmosphere.run(action);
        this.deathEvents.run(action);
        this.teleport.run(action);
        this.descendMessage.run(action);
        this.autoClimb.run(action);
    }