# charlottegomes/steelwall architecture

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

- Interactive diagram: https://gitdiagram.com/charlottegomes/steelwall
- Repository: https://github.com/charlottegomes/steelwall

## Overview

This repository appears to be a Unity turn-based combat game, with character, enemy, skill, and status-effect assets alongside runtime scripts and battle HUD components. The likely player workflow is to choose a party and issue combat actions; battle management coordinates characters and effects, while the HUD presents combat state and selection controls. The tree supports these subsystem boundaries, but no README or source excerpts were provided, so runtime calls and exact sequencing remain unverified.

Main entry points: [`Assets/Scripts/Battle Managers/BattleManager.cs`](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Managers/BattleManager.cs) (Battle Manager), [`Assets/Scripts/Battle Character/BattleChar.cs`](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Character/BattleChar.cs) (Battle Character), [`Assets/Scripts/Skills/SkillSO.cs`](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Skills/SkillSO.cs) (Skills), [`Assets/Scripts/Managers/GM.cs`](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Managers/GM.cs) (Game State)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_management["Game Management"]
  node_game["Game State<br/>[GM.cs]"]
  node_input["Input<br/>[InputManager.cs]"]
  node_party["Party<br/>[PartyManager.cs]"]
  node_battle["Battle Manager<br/>[BattleManager.cs]"]
  node_results["Battle Results<br/>[BattleResult.cs]"]
end

subgraph group_combatants["Combatants"]
  node_character["Battle Character<br/>[BattleChar.cs]"]
  node_characterdata["Character Data<br/>[BattleCharSO.cs]"]
  node_playercombat["Player Combat<br/>[PjController.cs]"]
  node_enemycombat["Enemy Combat<br/>[EnemyController.cs]"]
  node_enemybehavior["Enemy Behavior"]
end

subgraph group_rules["Combat Rules"]
  node_skills["Skills<br/>[SkillSO.cs]"]
  node_skilldata["Skill Data<br/>[SkillData.cs]"]
  node_effects["Skill Effects"]
  node_modifiers["Skill Modifiers"]
  node_statuses["Status Effects"]
end

subgraph group_presentation["Battle Presentation"]
  node_battlehud["Battle HUD<br/>[BattleHud.cs]"]
  node_characterhud["Combatant HUD"]
  node_indicators["Indicators"]
  node_healthbars["Health Bars<br/>[LifeBarManager.cs]"]
end

node_player(("Player"))

node_player -.->|"provides input"| node_input
node_input -.->|"sends commands"| node_game
node_game -.->|"manages party"| node_party
node_game -.->|"starts battle"| node_battle
node_battle -.->|"coordinates combat"| node_character
node_character -.->|"uses data"| node_characterdata
node_character -.->|"specializes as"| node_playercombat
node_character -.->|"specializes as"| node_enemycombat
node_enemycombat -.->|"uses behavior"| node_enemybehavior
node_playercombat -.->|"uses skills"| node_skills
node_skills -.->|"uses data"| node_skilldata
node_skills -.->|"applies effects"| node_effects
node_skills -.->|"uses modifiers"| node_modifiers
node_effects -.->|"applies statuses"| node_statuses
node_battle -.->|"records outcome"| node_results
node_battle -.->|"updates display"| node_battlehud
node_battlehud -.->|"presents combatants"| node_characterhud
node_characterhud -.->|"shows indicators"| node_indicators
node_characterhud -.->|"shows health"| node_healthbars

click node_game "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Managers/GM.cs"
click node_input "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Managers/InputManager.cs"
click node_party "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Managers/PartyManager.cs"
click node_battle "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Managers/BattleManager.cs"
click node_results "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Managers/BattleResult.cs"
click node_character "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Character/BattleChar.cs"
click node_characterdata "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Character/BattleCharSO.cs"
click node_playercombat "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Character/PJ/PjController.cs"
click node_enemycombat "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Character/Enemies/EnemyController.cs"
click node_enemybehavior "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Character/Enemies/EnemyBehaviourSO.cs"
click node_skills "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Skills/SkillSO.cs"
click node_skilldata "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Skills/SkillData.cs"
click node_effects "https://github.com/charlottegomes/steelwall/tree/main/Assets/Scripts/Skills/Effects"
click node_modifiers "https://github.com/charlottegomes/steelwall/tree/main/Assets/Scripts/Skills/Modifiers"
click node_statuses "https://github.com/charlottegomes/steelwall/tree/main/Assets/Scripts/StatusEffects"
click node_battlehud "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/HUD/BattleHud/BattleHud.cs"
click node_characterhud "https://github.com/charlottegomes/steelwall/tree/main/Assets/Scripts/HUD/BattleHud"
click node_indicators "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/HUD/BattleHud/Indicators/IndicatorManager.cs"
click node_healthbars "https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/HUD/BattleHud/LifeBar/LifeBarManager.cs"

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_game,node_input,node_party,node_battle,node_results toneBlue
class node_character,node_characterdata,node_playercombat,node_enemycombat,node_enemybehavior toneAmber
class node_skills,node_skilldata,node_effects,node_modifiers,node_statuses toneMint
class node_battlehud,node_characterhud,node_indicators,node_healthbars toneRose
class node_player toneIndigo
```

## Components

### Game Management

- [Game State](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Managers/GM.cs): `Assets/Scripts/Managers/GM.cs`
- [Input](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Managers/InputManager.cs): `Assets/Scripts/Managers/InputManager.cs`
- [Party](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Managers/PartyManager.cs): `Assets/Scripts/Managers/PartyManager.cs`
- [Battle Manager](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Managers/BattleManager.cs): `Assets/Scripts/Battle Managers/BattleManager.cs`
- [Battle Results](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Managers/BattleResult.cs): `Assets/Scripts/Battle Managers/BattleResult.cs`

### Combatants

- [Battle Character](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Character/BattleChar.cs): `Assets/Scripts/Battle Character/BattleChar.cs`
- [Character Data](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Character/BattleCharSO.cs): `Assets/Scripts/Battle Character/BattleCharSO.cs`
- [Player Combat](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Character/PJ/PjController.cs): `Assets/Scripts/Battle Character/PJ/PjController.cs`
- [Enemy Combat](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Character/Enemies/EnemyController.cs): `Assets/Scripts/Battle Character/Enemies/EnemyController.cs`
- [Enemy Behavior](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Battle%20Character/Enemies/EnemyBehaviourSO.cs): `Assets/Scripts/Battle Character/Enemies/EnemyBehaviourSO.cs`

### Combat Rules

- [Skills](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Skills/SkillSO.cs): `Assets/Scripts/Skills/SkillSO.cs`
- [Skill Data](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/Skills/SkillData.cs): `Assets/Scripts/Skills/SkillData.cs`
- [Skill Effects](https://github.com/charlottegomes/steelwall/tree/main/Assets/Scripts/Skills/Effects): `Assets/Scripts/Skills/Effects`
- [Skill Modifiers](https://github.com/charlottegomes/steelwall/tree/main/Assets/Scripts/Skills/Modifiers): `Assets/Scripts/Skills/Modifiers`
- [Status Effects](https://github.com/charlottegomes/steelwall/tree/main/Assets/Scripts/StatusEffects): `Assets/Scripts/StatusEffects`

### Battle Presentation

- [Battle HUD](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/HUD/BattleHud/BattleHud.cs): `Assets/Scripts/HUD/BattleHud/BattleHud.cs`
- [Combatant HUD](https://github.com/charlottegomes/steelwall/tree/main/Assets/Scripts/HUD/BattleHud): `Assets/Scripts/HUD/BattleHud`
- [Indicators](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/HUD/BattleHud/Indicators/IndicatorManager.cs): `Assets/Scripts/HUD/BattleHud/Indicators/IndicatorManager.cs`
- [Health Bars](https://github.com/charlottegomes/steelwall/blob/main/Assets/Scripts/HUD/BattleHud/LifeBar/LifeBarManager.cs): `Assets/Scripts/HUD/BattleHud/LifeBar/LifeBarManager.cs`

### Other components

- **Player**

## Connections

- Player → Input: provides input
- Input → Game State: sends commands
- Game State → Party: manages party
- Game State → Battle Manager: starts battle
- Battle Manager → Battle Character: coordinates combat
- Battle Character → Character Data: uses data
- Battle Character → Player Combat: specializes as
- Battle Character → Enemy Combat: specializes as
- Enemy Combat → Enemy Behavior: uses behavior
- Player Combat → Skills: uses skills
- Skills → Skill Data: uses data
- Skills → Skill Effects: applies effects
- Skills → Skill Modifiers: uses modifiers
- Skill Effects → Status Effects: applies statuses
- Battle Manager → Battle Results: records outcome
- Battle Manager → Battle HUD: updates display
- Battle HUD → Combatant HUD: presents combatants
- Combatant HUD → Indicators: shows indicators
- Combatant HUD → Health Bars: shows health
