00001 /*************************************************************************** 00002 * * 00003 * This program is free software; you can redistribute it and/or modify * 00004 * it under the terms of the GNU General Public License as published by * 00005 * the Free Software Foundation; either version 2 of the License, or * 00006 * (at your option) any later version. * 00007 * * 00008 ***************************************************************************/ 00009 00010 00011 #ifndef unitcostcalculationH 00012 #define unitcostcalculationH 00013 00014 class VehicleType; 00015 class Resources; 00016 class ASCString; 00017 00018 class UnitCostCalculator { 00019 public: 00020 virtual Resources productionCost( const VehicleType* vehicle ) = 0; 00021 virtual ASCString getCalculatorName() = 0; 00022 virtual ~UnitCostCalculator() {}; 00023 }; 00024 00025 #endif
1.5.1