Skip to content
GR32>TCustomMap>CreateConstructor

TCustomMap.Create

Initializes a new TCustomMap instance.

Declarations

pascal
constructor Create;
constructor Create(Width, Height: Integer); reintroduce; overload;

Overloads

Overload 1

pascal
constructor Create;

Creates a new map instance with default zero dimensions.

Overload 2

pascal
constructor Create(Width, Height: Integer); reintroduce; overload;

Creates a new map instance and sets initial width and height.

ParameterTypeDescription
WidthIntegerInitial width of the map.
HeightIntegerInitial height of the map.

Description ​

Initializes a new TCustomMap instance. The overloaded constructor allows setting initial map dimensions during instantiation.