Lawnmover.Pattern.Pattern C# (CSharp) Méthode

Pattern() public méthode

public Pattern ( int width, int height ) : System
width int
height int
Résultat System
        public Pattern(int width, int height)
        {
            this.width = width;
            this.height = height;
            this.cells = new int[height, width];
            this.rowmoves = new int[height];
            this.columnmoves = new int[width];
        }