コード例 #1
0
    public void setGraphicConfig(int graphicConfig)
    {
        Tool tool = new ChangeIntegerValueTool(adventureData, graphicConfig, "getGraphicConfig", "setGraphicConfig");

        Controller.getInstance().addTool(tool);
    }
コード例 #2
0
    public void setGUIStyleDialog(int optionSelected)
    {
        Tool tool = new ChangeIntegerValueTool(adventureData, optionSelected, "getGUIType", "setGUIType");

        Controller.getInstance().addTool(tool);
    }
コード例 #3
0
    /**
     * @param playerMode
     *            the playerMode to set
     */
    public void setPlayerMode(int playerMode)
    {
        Tool tool = new ChangeIntegerValueTool(adventureData, playerMode, "getPlayerMode", "setPlayerMode");

        Controller.getInstance().addTool(tool);
    }