ai_accounting.hpp

Go to the documentation of this file.
00001 /* $Id: ai_accounting.hpp 20288 2010-08-01 20:41:46Z yexo $ */
00002 
00003 /*
00004  * This file is part of OpenTTD.
00005  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
00006  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00007  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
00008  */
00009 
00012 #ifndef AI_ACCOUNTING_HPP
00013 #define AI_ACCOUNTING_HPP
00014 
00015 #include "ai_object.hpp"
00016 
00030 class AIAccounting : public AIObject {
00031 public:
00033   static const char *GetClassName() { return "AIAccounting"; }
00034 
00040   AIAccounting();
00041 
00047   ~AIAccounting();
00048 
00055   Money GetCosts();
00056 
00062   void ResetCosts();
00063 
00064 private:
00065   Money last_costs;
00066 };
00067 
00068 #endif /* AI_ACCOUNTING_HPP */

Generated on Sun Jan 9 16:01:50 2011 for OpenTTD by  doxygen 1.6.1