ProceduralDungeon
ProceduralDungeon copied to clipboard
Question about room logic
hello there, im wondering about how i could encapsulate room logic.
for example, i have a room and i want it to be a wave attack type room. i have spawner actors placed around and i want the room to know about them and be able to use them. i looked at custom data but i dont think this is what i want.
i currently have another actor my "room manager" that i place in the level blueprint for the room and that does the job. But im wondering would i be better off expanding the room class? perhaps even removing the custom data aproach and just letting the room class have more of a role in managing all logic in that room.
not sure what you would recommend.