and this is the basic header for it: ```#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "LevelGenerator.generated.h"
UCLASS()
class MAPGENERATOR_API ALevelGenerator : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
ALevelGenerator();
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LevelGenerator")
int32 NumMapRows;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LevelGenerator")
int32 NumMapColumns;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LevelGenerator")
TArray<int32> Map;
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
UFUNCTION(BlueprintCallable, Category = "LevelGenerator")
void setMapSize(int32& rows, int32& cols);
};```