root/src/BRAINSFramework/Map/Grid.cs
| 23 | 28 | ||
|---|---|---|---|
104 | /// </summary> | 104 | /// </summary> |
105 | public Grid(Vector2 position,int width, int height, int cellSize) | 105 | public Grid(Vector2 position,int width, int height, int cellSize) |
106 | { | 106 | { |
107 | this.Setup(position, width, height, cellSize); | ||
108 | } | ||
109 | |||
110 | public void Setup(Vector2 position, int width, int height, int cellSize) | ||
111 | { | ||
107 | _position = position; | 112 | _position = position; |
108 | _width = width; | 113 | _width = width; |
109 | _height = height; | 114 | _height = height; |
Download diff