public void update()
 {
     if (adapter.isCareer())
     {
         double next = getNextTaxesDate();
         if (nextTaxesDate < next)
         {
             nextTaxesDate = next;
             int numCivilians = 0;
             foreach (CivilianVessel vessel in adapter.getVessels())
             {
                 numCivilians += vessel.getCivilianCount();
             }
             adapter.addFunds(numCivilians * configuration.getRentAmountPerCivilian());
         }
     }
 }