tile generation

This commit is contained in:
2022-11-10 23:31:07 +01:00
parent 624f5ae6c6
commit aac37e5101
33 changed files with 1547 additions and 53 deletions

View File

@@ -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;
}
}