# uheartbeast/3d-dungeon architecture

> Architecture diagram of the GitHub repository uheartbeast/3d-dungeon, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/uheartbeast/3d-dungeon
- Repository: https://github.com/uheartbeast/3d-dungeon

## Overview

This is a Godot project named 3d-dungeon. The tree indicates a 3D dungeon game with world, map, cell, and player components, plus environment and texture resources. The README provides only the product name and an image link, and no source excerpts were supplied; therefore, runtime ownership and call/data-flow relationships cannot be established without guessing. The graph groups components by apparent role and omits unsupported edges.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gameplay["Game Runtime"]
  node_player["Player<br/>[Player.gd]"]
  node_world["World<br/>[World.gd]"]
end

subgraph group_content["Dungeon Content"]
  node_map["Map<br/>[Map.gd]"]
  node_map_creator["Map Creator<br/>[MapCreator.tscn]"]
  node_cell["Dungeon Cell<br/>[Cell.gd]"]
  node_map_scene["Map Scene<br/>[Map.tscn]"]
end

subgraph group_resources["Shared Resources"]
  node_globals["Globals<br/>[Globals.gd]"]
  node_resource_stash["Resource Stash<br/>[ResourceStash.gd]"]
  node_materials["Dungeon Materials<br/>[Floor.tres]"]
  node_textures["Texture Sets"]
end

click node_player "https://github.com/uheartbeast/3d-dungeon/blob/main/Player.gd"
click node_world "https://github.com/uheartbeast/3d-dungeon/blob/main/World.gd"
click node_map "https://github.com/uheartbeast/3d-dungeon/blob/main/Map.gd"
click node_map_creator "https://github.com/uheartbeast/3d-dungeon/blob/main/MapCreator.tscn"
click node_cell "https://github.com/uheartbeast/3d-dungeon/blob/main/Cell.gd"
click node_map_scene "https://github.com/uheartbeast/3d-dungeon/blob/main/Map.tscn"
click node_globals "https://github.com/uheartbeast/3d-dungeon/blob/main/Globals.gd"
click node_resource_stash "https://github.com/uheartbeast/3d-dungeon/blob/main/ResourceStash.gd"
click node_materials "https://github.com/uheartbeast/3d-dungeon/blob/main/Floor.tres"
click node_textures "https://github.com/uheartbeast/3d-dungeon/tree/main/Textures"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_player,node_world toneBlue
class node_map,node_map_creator,node_cell,node_map_scene toneAmber
class node_globals,node_resource_stash,node_materials,node_textures toneMint
```

## Components

### Game Runtime

- [Player](https://github.com/uheartbeast/3d-dungeon/blob/main/Player.gd): `Player.gd`
- [World](https://github.com/uheartbeast/3d-dungeon/blob/main/World.gd): `World.gd`

### Dungeon Content

- [Map](https://github.com/uheartbeast/3d-dungeon/blob/main/Map.gd): `Map.gd`
- [Map Creator](https://github.com/uheartbeast/3d-dungeon/blob/main/MapCreator.tscn): `MapCreator.tscn`
- [Dungeon Cell](https://github.com/uheartbeast/3d-dungeon/blob/main/Cell.gd): `Cell.gd`
- [Map Scene](https://github.com/uheartbeast/3d-dungeon/blob/main/Map.tscn): `Map.tscn`

### Shared Resources

- [Globals](https://github.com/uheartbeast/3d-dungeon/blob/main/Globals.gd): `Globals.gd`
- [Resource Stash](https://github.com/uheartbeast/3d-dungeon/blob/main/ResourceStash.gd): `ResourceStash.gd`
- [Dungeon Materials](https://github.com/uheartbeast/3d-dungeon/blob/main/Floor.tres): `Floor.tres`
- [Texture Sets](https://github.com/uheartbeast/3d-dungeon/tree/main/Textures): `Textures`
