示例#1
0
        private void start()
        {
            rounds = (items[2] as NumericButton).Value;
            players = (items[1] as NumericButton).Value;
            playing = true;

            // this panel is for all rounds
            bottomPanel = new PlayersPanel(Game, spriteBatch, players, rounds);

            // important is that this number is higher than on the map
            bottomPanel.DrawOrder = 2;
            Game.Components.Add(bottomPanel);

            // create map
            startRound();
        }
示例#2
0
        private void start()
        {
            rounds  = (items[2] as NumericButton).Value;
            players = (items[1] as NumericButton).Value;
            playing = true;

            // this panel is for all rounds
            bottomPanel = new PlayersPanel(Game, spriteBatch, players, rounds);

            // important is that this number is higher than on the map
            bottomPanel.DrawOrder = 2;
            Game.Components.Add(bottomPanel);

            // create map
            startRound();
        }