Exemplo n.º 1
0
        private void DeckPictureBoxPaint(object sender, PaintEventArgs e)
        {
            GraphicContext.DrawCombSet(Game.TabGame.CombSet, e);

            GraphicContext.DrawDeckStatus(Game.TabGame.CellsTrancadas, Game.TabGame.CombSet, e);

            for (int x = 0; x == 10; x++)
            {
                for (int y = 0; y == 10; y++)
                {
                    if (Game.TabGame.CombSituacao[x, y] == 1)
                    {
                        GraphicContext.DrawColoredCell(x, y, Game.Jogador1.CorEsc, e);
                    }
                    else
                    {
                        if (Game.TabGame.CombSituacao[x, y] == 2)
                        {
                            GraphicContext.DrawColoredCell(x, y, Game.Jogador2.CorEsc, e);
                        }
                        else
                        {
                            GraphicContext.DrawInnerFrameCell(x, y, Game.Jogador2.CorEsc, e);
                        }
                    }
                }
            }
        }
Exemplo n.º 2
0
 private void DeckPictureBoxPaint(object sender, PaintEventArgs e)
 {
     GraphicContext.DrawCombSet(Game.TabGame.CombSet, e);
 }