You can't
You better do a 2D array of a tile type to which you add a TList which holds all dynamic objects on this field. This way you can go straight to the dynamic objects on a specific field.
The only other possibility would be to use TMap and use "X Y" as Key as well as the object for the value. But then you can only have 1 object per coordinate.
You better do a 2D array of a tile type to which you add a TList which holds all dynamic objects on this field. This way you can go straight to the dynamic objects on a specific field.
The only other possibility would be to use TMap and use "X Y" as Key as well as the object for the value. But then you can only have 1 object per coordinate.