Re: Lobby System
a = 0;
update() {
this.a++;
console.log("update!", this.a);
}
onInit(options) {
this.clock.setInterval(() => {this.update();}, 1000);
...
}
Re: Lobby System
a = 0;
update() {
this.a++;
console.log("update!", this.a);
}
onInit(options) {
this.clock.setInterval(() => {this.update();}, 1000);
...
}