| 1 | /*************************************************************************** |
| 2 | residentialsim.h - description |
| 3 | ------------------- |
| 4 | begin : sep 21th, 2003 |
| 5 | copyright : (C) 2003-2010 by Duong Khang NGUYEN |
| 6 | email : neoneurone @ gmail com |
| 7 | |
| 8 | $Id: residentialsim.h 450 2010-11-21 19:11:43Z neoneurone $ |
| 9 | ***************************************************************************/ |
| 10 | |
| 11 | /*************************************************************************** |
| 12 | * * |
| 13 | * This program is free software; you can redistribute it and/or modify * |
| 14 | * it under the terms of the GNU General Public License as published by * |
| 15 | * the Free Software Foundation; either version 2 of the License, or * |
| 16 | * any later version. * |
| 17 | * * |
| 18 | ***************************************************************************/ |
| 19 | |
| 20 | #ifndef _OPENCITY_RESIDENTIALSIM_H_ |
| 21 | #define _OPENCITY_RESIDENTIALSIM_H_ 1 |
| 22 | |
| 23 | #include "main.h" |
| 24 | #include "simulator.h" |
| 25 | |
| 26 | |
| 27 | /** This class handles the simulation of residential zones |
| 28 | */ |
| 29 | class ResidentialSim : public Simulator |
| 30 | { |
| 31 | public: |
| 32 | ResidentialSim( |
| 33 | SDL_mutex* mutex, |
| 34 | BuildingLayer* pblayer, |
| 35 | Map* pmap ); |
| 36 | |
| 37 | virtual ~ResidentialSim(); |
| 38 | |
| 39 | int |
| 40 | Main(); |
| 41 | |
| 42 | void |
| 43 | RemoveStructure( |
| 44 | const uint & w1, |
| 45 | const uint & h1, |
| 46 | const uint & w2, |
| 47 | const uint & h2 ); |
| 48 | |
| 49 | }; |
| 50 | |
| 51 | #endif |