/**
  * Constructor gith given parameters.
  *
  * @param title
  *            Title of the adventure
  * @param description
  *            Description of the adventure
  * @param guiType
  *            Type of the GUI
  * @param chapters
  *            Chapters of the adventure
  */
 public AdventureDataControl(string title, string description, List <Chapter> chapters)
 {
     adventureData = new AdventureData();
     adventureData.setTitle(title);
     adventureData.setDescription(description);
     adventureData.setGUIType(DescriptorData.GUI_TRADITIONAL);
     adventureData.setChapters(chapters);
     adventureData.setGraphicConfig(DescriptorData.GRAPHICS_WINDOWED);
     adventureData.setPlayerMode(DescriptorData.MODE_PLAYER_3RDPERSON);
     trackerConfigDataControl = new TrackerConfigDataControl(this);
 }
        /**
         * Constructor which creates an adventure data with default title and
         * description, traditional GUI and one empty chapter (with a scene).
         *
         * @param adventureTitle
         *            Default title for the adventure
         * @param chapterTitle
         *            Default title for the chapter
         * @param sceneId
         *            Default identifier for the scene
         */
        public AdventureDataControl(string adventureTitle, string chapterTitle, string sceneId, int playerMode)
        {
            adventureData = new AdventureData();
            adventureData.setTitle(adventureTitle);
            adventureData.setDescription("");
            adventureData.setGUIType(DescriptorData.GUI_CONTEXTUAL);
            adventureData.setPlayerMode(playerMode);
            var chapter = new Chapter(chapterTitle, sceneId);

            chapter.getObjects <Scene>().Add(new Scene(sceneId));
            adventureData.addChapter(chapter);
            trackerConfigDataControl = new TrackerConfigDataControl(this);
        }
 /**
  * Empty constructor. Sets all values to null.
  */
 public AdventureDataControl()
 {
     adventureData            = new AdventureData();
     trackerConfigDataControl = new TrackerConfigDataControl(this);
 }
 public AdventureDataControl(AdventureData data) : this()
 {
     adventureData = data;
     checkContextualButtons();
     trackerConfigDataControl = new TrackerConfigDataControl(this);
 }