21 lines
754 B
C++
21 lines
754 B
C++
// Copyright Benoit Pelletier 2025 All Rights Reserved.
|
|
//
|
|
// This software is available under different licenses depending on the source from which it was obtained:
|
|
// - The Fab EULA (https://fab.com/eula) applies when obtained from the Fab marketplace.
|
|
// - The CeCILL-C license (https://cecill.info/licences/Licence_CeCILL-C_V1-en.html) applies when obtained from any other source.
|
|
// Please refer to the accompanying LICENSE file for further details.
|
|
|
|
#include "DungeonSettings.h"
|
|
#include "ProceduralDungeonUtils.h"
|
|
|
|
UDungeonSettings::UDungeonSettings()
|
|
: Super()
|
|
{
|
|
RoomUnit = Dungeon::RoomUnit();
|
|
}
|
|
|
|
FVector UDungeonSettings::GetRoomUnit(const UDungeonSettings* Settings)
|
|
{
|
|
return IsValid(Settings) ? Settings->RoomUnit : Dungeon::RoomUnit();
|
|
}
|