public boolean isCollision(Pacman p) {

        // If Pacman collides with a ghost and isn't powered, he dies.
        if ((isGhost() == 1 || isGhost() == 2) && !pacman.isPowered()) {
            sounds.playDeath();
            lives--;
            pacman.initializePos(450, 550, 0);
            evil1.initializePos(350, 400, 180);
            evil2.initializePos(550, 400, 0);
            return true;
        }

        // If Pacman collides with a ghost and IS powered - they die/reset
        // position
        else if (isGhost() == 1 && pacman.isPowered()) {
            evil1.initializePos(350, 400, 180);
            score += 50;
        } else if (isGhost() == 2 && pacman.isPowered()) {
            evil2.initializePos(550, 400, 0);
            score += 50;
        }

        // If we didn't collide with a ghost, is there a wall?
        return isWall(p);
        // return (isGhost()||isWall(p));
    }