/*----------------------------------------- * handleDeath() * ----------------------------------------*/ private void handleDeath() { if (_lives == 0) { _position = new Vec2(Utils.Random(20, game.width - 20), Utils.Random(20, game.height - 20)); _lives = 3; if (!_tank.GetIsDead()) { _tank.AddScore(50); } } }