added isDead() to Actor.java