00001 #ifndef __BUILDING_H
00002 #define __BUILDING_H
00003
00004 enum BuildingType {BASE, SHOP, NO_TYPE_BUILDING};
00005
00006 class Building {
00007 private:
00008 BuildingType type;
00009 int posx;
00010 int posy;
00011 int owner;
00012
00013 public:
00014 BuildingType getType();
00015 int getPosX();
00016 int getPosY();
00017 int getOwner();
00018 void setType(BuildingType t);
00019 void setPosX(int x);
00020 void setPosY(int y);
00021 void setOwner(int o);
00022 Building(BuildingType type=NO_TYPE_BUILDING, int x=0, int y=0, int owner=0);
00023 ~Building();
00024 };
00025
00026 #endif