Go back to text wordbubbles

This commit is contained in:
2014-06-14 10:25:08 -07:00
parent fd8d955c3a
commit 90d21f7861

View File

@@ -917,12 +917,10 @@ var AISprite = function(game, x, y, key, frame) {
Phaser.Sprite.call(this, game, x, y, 'townsfolk-male-1');
game.physics.arcade.enable(this);
this.timer = null;
this.bubble = null;
this.enable_word_bubble = false;
this.body.collideWorldBounds = true;
this.state = STATE_UNAWARE;
this.sprite_name = "townsfolk-male-1";
this.sprite_group = "townsfolk-male";
this.update_new_values();
}
AISprite.prototype = Object.create(Phaser.Sprite.prototype);