Skip to main content

Procedural DungeonDungeon Graph ⏵ Has Already One Room Type From

Has Already One Room Type From

Category: Dungeon Graph

Description

Returns true if at least one of the RoomData type from the list provided is already in the dungeon

Node

C++

bool HasAlreadyOneRoomTypeFrom(const TArray<TSubclassOf<URoomData> >& RoomTypeList) const

Inputs

NameTypeDescription
TargetDungeon Graph Object Reference
Room Type ListArray of Room Data Class References

Outputs

NameTypeDescription
Return ValueBooleanReturns true if at least one of the RoomData type from the list provided is already in the dungeon