Model.Model C# (CSharp) Method

Model() protected method

protected Model ( int width, int height ) : System
width int
height int
return System
    protected Model(int width, int height)
    {
        FMX = width;
        FMY = height;

        wave = new bool[FMX][][];
        changes = new bool[FMX][];
        for (int x = 0; x < FMX; x++)
        {
            wave[x] = new bool[FMY][];
            changes[x] = new bool[FMY];
        }
    }