public void attack( Territory defender, Player attacker, int invaders )
    {
        //Do Calculations here
        //bonuses??
        //simple substraction:
        double bonusMultiplicator = 1;
        
        
        if(defender.getClass().getName() == "Woodland")
        {
            bonusMultiplicator += 0.3;
        }
        else if(defender.getClass().getName() == "Desert")
        {
            bonusMultiplicator += 0;
        }
        else if(defender.getClass().getName() == "Village")
        {
            bonusMultiplicator += 0.4;
        }
        else if(defender.getClass().getName() == "Farmland")
        {
            bonusMultiplicator += 0.1;
        }
        else if(defender.getClass().getName() == "Castle")
        {
            bonusMultiplicator += 1;
        }
       
        int defenders = defender.getPopulation();

        int survivors = (int)(defender.getPopulation() * bonusMultiplicator) - invaders ;
        
        if(survivors < 0)
        {
            defender.setOwner(attacker);
            defender.setPopulation(-survivors);
        }
        else if(survivors == 0)
        {
            defender.setOwner(null);    //null?? or defender??
            defender.setPopulation(0);
        }
        else
        {
            if(defenders < survivors)
            {
                defender.setPopulation(defenders);
            }
            else
            {
                defender.setPopulation(survivors);
            }
        }
    }