ALimenProceduralMapManager
Overview
ALimenProceduralMapManager is an actor that manages the procedural map generation process. It handles notifications from the map builder class and broadcasts events to interested parties when a map is built, completed, or entered. This class is designed to be used in conjunction with ULimenProceduralMap, ALimenProceduralMapBuilder, and UProceduralMapParameters.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FMapComplete | OnMapComplete | Private | Multicast delegate for when a map is built. |
FMapEnter | OnMapEntered | Private | Multicast delegate for when a map is entered. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | MapBuilt(ULimenProceduralMap* Map) | Called from the map builder class to notify the manager that the map has been built. Do not call this directly! |
void | NotifyMapComplete() | Broadcasts the |
void | NotifyMapEntered() | Broadcasts the |
FMapComplete& | GetMapCompleteDelegate() | Returns a reference to the |
FMapEnter& | GetMapEnteredDelegate() | Returns a reference to the |
Usage & Implementation Notes
This class is designed to be used as an actor in Unreal Engine 5.
It relies on the
ALimenGameplayManagerto retrieve the appropriate map builder instance.The
MapBuiltfunction includes a check to ensure that the provided map pointer is not null.