Added some functionality to the enemy