Example #1
0
 public MathBase(int columns, int rows, int totalMine)
 {
     ThisQueue = new Queue();
     _dq       = new DrawQueue();
     InitAttribute(columns, rows, totalMine);
     RestartAttributeGame();
 }
Example #2
0
 private void DrawGraphics()
 {
     while (_mb.ThisQueue.Count != 0)
     {
         DrawQueue dq = (DrawQueue)_mb.ThisQueue.Dequeue();
         DrawItem(dq);
     }
 }
Example #3
0
 private void DrawItem(DrawQueue dq)
 {
     //process change image of item
     _mf.DrawItem(_arrayMineStatus[dq.NImg], dq.X, dq.Y);
 }