Making AI able to 'see' the player

This commit is contained in:
2014-06-14 16:43:42 -07:00
parent 5da5abf67b
commit 1be6fe6c3b

View File

@@ -749,6 +749,7 @@ var AISprite = function(game, x, y, key, frame) {
}
this.update_new_values = function() {
console.log(this);
if ( this.timer !== null )
this.timer.stop();
this.animations.destroy();