コード例 #1
0
        public static void Update()
        {
            switch (StateManager.OptionsState)
            {
            case OptionStates.Overview:
                overview.Update();
                break;

            case OptionStates.Graphics:
                graphics.Update();
                break;

            case OptionStates.Sound:
                sound.Update();
                break;

            case OptionStates.Controls:
                controls.Update();
                break;

            case OptionStates.General:
                general.Update();
                break;
            }
        }