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