Is there a way to use a predefined variable inside a class or define it with a start value? My code:
TRoom = class(TObject)
private
pos: array[0..2] of integer;
up: TRoom;
right: TRoom;
down: TRoom;
left: TRoom;
--> freeSlots: array[0..3] of string = ('up','right','down','left'); <--
content: string;
end;