+ const waitEndOfAnimation = () => {
+ // 250ms = length of animation (TODO: some constant somewhere)
+ setTimeout( () => {
+console.log("RESET: " + this.compThink);
+ this.compThink = false;
+ if (this.game.score != "*") //user action
+ this.$emit("game-stopped");
+ }, animate ? 250 : 0);
+ };