Go back to text wordbubbles
This commit is contained in:
@@ -917,6 +917,8 @@ var AISprite = function(game, x, y, key, frame) {
|
|||||||
Phaser.Sprite.call(this, game, x, y, 'townsfolk-male-1');
|
Phaser.Sprite.call(this, game, x, y, 'townsfolk-male-1');
|
||||||
game.physics.arcade.enable(this);
|
game.physics.arcade.enable(this);
|
||||||
this.timer = null;
|
this.timer = null;
|
||||||
|
this.bubble = null;
|
||||||
|
this.enable_word_bubble = false;
|
||||||
this.body.collideWorldBounds = true;
|
this.body.collideWorldBounds = true;
|
||||||
this.state = STATE_UNAWARE;
|
this.state = STATE_UNAWARE;
|
||||||
this.sprite_name = "townsfolk-male-1";
|
this.sprite_name = "townsfolk-male-1";
|
||||||
|
|||||||
Reference in New Issue
Block a user