Ejemplo n.º 1
0
        void AddExcursionGameElements()
        {
            ElementButton ebApp = new ElementButton
            {
                Content = "Excursion-Game",
                ElementType = ElementType.ExcursionGameApp
            };

            ElementButton ebPrologue = new ElementButton { Content = "Prologue", ElementType = ElementType.Prologue };
            ElementButton ebMission = new ElementButton { Content = "Mission", ElementType = ElementType.Mission };
            ElementButton ebCSound = new ElementButton { Content = "Cont. Sounds", ElementType = ElementType.CSound };
            ElementButton ebGoal = new ElementButton { Content = "Goal", ElementType = ElementType.Goal };
            ElementButton ebMList = new ElementButton { Content = "Mission List", ElementType = Data.Elements.ElementType.MissionList };
            ElementButton ebOracle = new ElementButton { Content = "Oracle Hint", ElementType = Data.Elements.ElementType.OracleHint };
            ElementButton ebConnector = new ElementButton { Content = "Connector", ElementType = ElementType.Connector };

            AddButton(ebApp);
            AddButton(ebPrologue);
            AddButton(ebMission);
            AddButton(ebCSound);
            AddButton(ebGoal);
            AddButton(ebMList);
            AddButton(ebOracle);
            AddButton(ebConnector);
        }
Ejemplo n.º 2
0
 void AddHistoryPuzzleElements()
 {
     ElementButton ebApp = new ElementButton
                               {
                                   Content = "History-Puzzle",
                                   ElementType = ElementType.HistoryPuzzleApp
                               };
     ElementButton ebResource = new ElementButton {Content = "Puzzle", ElementType = ElementType.Puzzle};
     ElementButton ebQA = new ElementButton {Content = "Q&A", ElementType = ElementType.QuestionsAnswers};
     ElementButton ebMap = new ElementButton { Content = "Map", ElementType = ElementType.Map };
     ElementButton ebConnector = new ElementButton {Content = "Connector", ElementType = ElementType.Connector};
     AddButton(ebApp);
     AddButton(ebResource);
     AddButton(ebQA);
     //AddButton(ebMap);
     AddButton(ebConnector);
 }
Ejemplo n.º 3
0
        void AddMuseumGuideElements()
        {
            ElementButton ebApp = new ElementButton
            {
                Content = "Museum Guide",
                ElementType = ElementType.MuseumGuideApp
            };
            ebApp.Width = 96;

            ElementButton ebMap = new ElementButton {Content = "Map", ElementType = ElementType.Map};
            ElementButton ebTheme= new ElementButton{Content ="Theme", ElementType = ElementType.Theme};
            ElementButton ebItem = new ElementButton {Content = "Item", ElementType = ElementType.Item};
            ElementButton ebConnector = new ElementButton { Content = "Connector", ElementType = ElementType.Connector };

            AddButton(ebApp);
            //AddButton(ebMap);
            AddButton(ebTheme);
            AddButton(ebItem);
            AddButton(ebConnector);
        }
Ejemplo n.º 4
0
 void AddButton(ElementButton button)
 {
     button.OwnerToolbar = this;
     buttonPanel.Children.Add(button);
 }
Ejemplo n.º 5
0
        private void AddUrbanGameElements()
        {
            ElementButton CityItem = new ElementButton { Content = "City", ElementType = ElementType.UG_CityElement };
            AddButton(CityItem);
            ElementButton ebConnector = new ElementButton { Content = "Connector", ElementType = ElementType.Connector };
            AddButton(ebConnector);
            ElementButton contentItem = new ElementButton { Content = "Monument", ElementType = ElementType.UG_ContentItem };
            AddButton(contentItem);
            //BuildingBlockFilterButton goalItem= new BuildingBlockFilterButton { Content = "Goal", ElementType = ElementType.UG_GoalElement };
            //AddButton(goalItem);

            ElementButton QAItem= new ElementButton { Content = "Questions", ElementType = ElementType.QuestionsAnswers };
            AddButton(QAItem);
            ElementButton resourceItem= new ElementButton { Content = "Resource", ElementType = ElementType.UG_ResourceElement};
            AddButton(resourceItem);
        }