tile generation
This commit is contained in:
@@ -8,28 +8,43 @@ namespace Escape_Room_Engine.Engine.Scripts
|
||||
[CreateAssetMenu(menuName = "Engine Config")]
|
||||
public class EngineConfiguration : ScriptableObject
|
||||
{
|
||||
[BoxGroup("Size")]
|
||||
[Tooltip("The minimum size that should be allowed for rooms.")]
|
||||
#region Size
|
||||
|
||||
[BoxGroup("Size")] [Tooltip("The minimum size that should be allowed for rooms.")]
|
||||
public Vector2Int minRoomSize;
|
||||
|
||||
[BoxGroup("Size")]
|
||||
[Tooltip("The size of the physical play space available to the engine.")]
|
||||
[BoxGroup("Size")] [Tooltip("The size of the physical play space available to the engine.")]
|
||||
public Vector2Int playSpace;
|
||||
|
||||
#endregion
|
||||
|
||||
[BoxGroup("Doors")]
|
||||
[Required]
|
||||
#region Spaces
|
||||
|
||||
[BoxGroup("Spaces")] [Required]
|
||||
public SpaceTile spaceTile;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Doors
|
||||
|
||||
[BoxGroup("Doors")] [Required]
|
||||
public DoorModuleDescription spawnDoor;
|
||||
|
||||
[BoxGroup("Doors")]
|
||||
[ValidateInput("IsNotEmpty", "At least one exit door type is required")]
|
||||
[BoxGroup("Doors")] [ValidateInput("IsNotEmpty", "At least one exit door type is required")]
|
||||
public List<DoorModuleDescription> exitDoorTypes;
|
||||
|
||||
[BoxGroup("Puzzles")]
|
||||
[MinMaxSlider(0, 10)] public Vector2Int puzzleCount;
|
||||
#endregion
|
||||
|
||||
#region Puzzles
|
||||
|
||||
[BoxGroup("Puzzles")] [MinMaxSlider(0, 10)]
|
||||
public Vector2Int puzzleCount;
|
||||
|
||||
[BoxGroup("Puzzles")]
|
||||
public List<PuzzleModuleDescription> puzzleTypes;
|
||||
|
||||
#endregion
|
||||
|
||||
public ModuleDescription genericModule;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user