text: #ifndef BEGIN_ROOM_H
  #define BEGIN_ROOM_H
  
  #include <QDialog>
  #include <QPixmap>
  #include <vector>
  #include <string>
  #include <QtCore>
  #include "Room.h"
  #include <QMessageBox>
  #include "inventory.h"
  #include "player.h"
  #include "item.h"
  #include "minigame1.h"
  #include "minigame2.h"
  #include <QStyleFactory>
  
  enum I_INDEX{MAP=0,BKG1=1,BKG2=2,PLAYERS, DRAGON, QUEEN, SOLDIERA, SOLDIERB, SOLDIERC};
  enum INTENTION {NOTHING, DROPITEM, GETITEM, EATFOOD, USESOMETHING};
  using namespace std;
  namespace Ui {
  class begin_room;
  }
  
  class begin_room : public QDialog
  {
      Q_OBJECT
      
  public:
      explicit begin_room(Player *player, QWidget *parent = 0);
      ~begin_room();
  
      void updateInventoryDisplay(Inventory *inv);
      
      void doMiniGame(int wich);
      enum ROOM_NU { RN_B=0, RN_C=1, RN_D=2, RN_E=3, RN_F=4, RN_G=5, RN_H=6, RN_I=7, RN_J, RN_K, RN_L, RN_M, RN_N, RN_O, RN_P, RN_Q, RN_R, RN_S, RN_T };
  private slots:
      void on_pushButton_9_clicked();
  
      void on_pushButton_clicked();
  
      void on_northButton_clicked();
  
      void on_southButton_clicked();
  
      void on_eastButton_clicked();
  
      void on_westButton_clicked();
  
      void on_pushButton_3_clicked();
  
      void on_pushButton_4_clicked();
  
      void on_dreamReality_clicked();
  
      void on_pushButton_2_clicked();
  
      void doIntentionalStuff();
  
  private:
      int index, index2;
      int layer;
      Ui::begin_room *ui;
      vector<Room *> rooms;
      Room* currentRoom;
      vector<vector<QPixmap> > images;
      Player* player;
      INTENTION intention;
  
      void TESTchangePictures();
      void loadImages();
      void go(string direction);
      void roomCreation();
      void clearLayout(QLayout* layout, bool deleteWidgets);
      void updateInventoryRoom(Inventory *inv);
  
      inline void setDefaultStyle() {
          this->setStyleSheet("");
  
      }
  
      inline void setLightGreyStyle() {
          this->setStyleSheet("background-color: lightgrey;");
  
      }
  
      inline void setDarkGreyStyle() {
          this->setStyleSheet("background-color: #4C4C4C;");
          //http://www.w3.org/TR/SVG/types.html#ColorKeywords
      }
  
      const int I_MAX = 9;
      const int G_MAX_ROOMS = 19;
  };
  
  #endif // BEGIN_ROOM_H
  