Пример #1
0
        public override void Update()
        {
            desciription = "";

            if (!ReadyToDraw)  // wait for drawing before allowing further input
            {
                keyInterface.Listen();
            }
        }
Пример #2
0
        public override void Update()
        {
            keyInterface.Listen();

            if (Selected >= GetOptions().Count())
            {
                Selected = 0;
            }

            if (Selected < 0)
            {
                Selected = GetOptions().Count();
            }
        }
Пример #3
0
        public override void Update()
        {
            keyInterface.Listen();
            if (selected >= options.Count())
            {
                selected = 0;
            }
            if (selected < 0)
            {
                selected = options.Count();
            }

            Singleton <Media.Music> .GetInstance().SetVolume(musicVolume);
        }