The game will now recoginise that the enemy is dead when it moves out of view of the player (Z = -2)