Model.Clear C# (CSharp) Method

Clear() protected method

protected Clear ( ) : void
return void
    protected virtual void Clear()
    {
        for (int x = 0; x < FMX; x++) for (int y = 0; y < FMY; y++)
            {
                for (int t = 0; t < T; t++) wave[x][y][t] = true;
                changes[x][y] = false;
            }
    }

Usage Example

Exemplo n.º 1
0
 public void ClearTest()
 {
     model.GetTotalShapes.Add(new Line());
     model.Clear();
     Assert.AreEqual(model.CurrentMode, -1);
     model.Clear();
 }
All Usage Examples Of Model::Clear