@Override
    public void mousePressed(MouseEvent e) {
        //shoot a bullet
        if (spawned == false && gameStarted == true && levelWon == false) {
            fire = true;
            spawned = true;
        }
    }