Description ​
Initializes a new TCustomMap instance. The overloaded constructor allows setting initial map dimensions during instantiation.
Initializes a new TCustomMap instance.
constructor Create;
constructor Create(Width, Height: Integer); reintroduce; overload;constructor Create;Creates a new map instance with default zero dimensions.
constructor Create(Width, Height: Integer); reintroduce; overload;Creates a new map instance and sets initial width and height.
| Parameter | Type | Description |
|---|---|---|
Width | Integer | Initial width of the map. |
Height | Integer | Initial height of the map. |
Initializes a new TCustomMap instance. The overloaded constructor allows setting initial map dimensions during instantiation.