1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-19 19:10:20 +02:00
vcmi/CCastleHandler.h
mateuszb df7ef8115b * poprawione zaczytywanie potworów
* częściowe czytanie bohaterów (zakomentowane, coby się nie sypało)
* wczytywanie tekstów wyświetlających się po wciśnięciu ppm w menu new game
* drobne poprawki w opisie bohaterów w specyfikacji
2007-06-13 20:17:48 +00:00

20 lines
597 B
C++

#ifndef CCASTLEHANDLER_H
#define CCASTLEHANDLER_H
#include "CBuildingHandler.h"
#include "CHeroHandler.h"
#include "CObjectHandler.h"
class CCastle : public CSpecObjInfo //castle class
{
public:
int x, y, z; //posiotion
std::vector<CBuilding> buildings; //buildings we can build in this castle
std::vector<bool> isBuild; //isBuild[i] is true, when building buildings[i] has been built
std::vector<bool> isLocked; //isLocked[i] is true, when building buildings[i] canot be built
CHero * visitingHero;
CHero * garnisonHero;
//TODO: dokoñczyæ
};
#endif //CCASTLEHANDLER_H