Go back to text wordbubbles
This commit is contained in:
@@ -791,9 +791,8 @@ var AISprite = function(game, x, y, key, frame) {
|
|||||||
this.clear_bubble = true;
|
this.clear_bubble = true;
|
||||||
this.enable_word_bubble = false;
|
this.enable_word_bubble = false;
|
||||||
this.timer = game.time.create(false);
|
this.timer = game.time.create(false);
|
||||||
var timerdelta = 20000 + (game.rnd.integerInRange(0, 30) * 1000);
|
console.log("In 1000 ms, " + this + " will enable speech");
|
||||||
console.log("In " + timerdelta + " ms, " + this + " will enable speech");
|
timerev = this.timer.add(1000, this.enableWordBubble, this);
|
||||||
timerev = this.timer.add(timerdelta, this.enableWordBubble, this);
|
|
||||||
this.timer.start()
|
this.timer.start()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user