Esempio n. 1
0
        // redraw the answer textView.
        private void Draw()
        {
            var state = Game.CheckState();
            var id    = (int)state;

            if (id > (int)Game.State.CONT5)
            {
                id = (int)Game.State.CONT5;
            }

            var pic = Pictures[id];

            imageView.SetImageResource(pic);

            var buff = "";

            foreach (var chr in Game.PublicWord)
            {
                buff += chr;
                buff += " ";
            }
            buff.Remove(buff.Length - 1);
            textView.Text = buff;
        }