Esempio n. 1
0
        public void setGraphicConfig(int graphicConfig)
        {
            Tool tool = new ChangeValueTool <AdventureData, int>(adventureData, graphicConfig, "getGraphicConfig", "setGraphicConfig");

            Controller.Instance.AddTool(tool);
        }
Esempio n. 2
0
        public void setGUIStyleDialog(int optionSelected)
        {
            Tool tool = new ChangeValueTool <AdventureData, int>(adventureData, optionSelected, "getGUIType", "setGUIType");

            Controller.Instance.AddTool(tool);
        }
Esempio n. 3
0
        /**
         * @param playerMode
         *            the playerMode to set
         */
        public void setPlayerMode(int playerMode)
        {
            Tool tool = new ChangeValueTool <AdventureData, int>(adventureData, playerMode, "getPlayerMode", "setPlayerMode");

            Controller.Instance.AddTool(tool);
        }