refactor into smaller units

This commit is contained in:
Rory Hinnen
2026-09-12 11:25:34 -05:00
parent 4eb7494d08
commit 1507f8b8c6
14 changed files with 637 additions and 415 deletions
@@ -0,0 +1,21 @@
//
// DiePoolView.swift
// Bunch O' Dice
//
import SwiftUI
struct DiePoolView: View {
var body: some View {
HStack(spacing: 0) {
ForEach(Dice.DiceType.allCases, id: \.rawValue) { i in
DieView(whichDie: i)
}
}
}
}
#Preview {
DiePoolView()
.environmentObject(Roll())
}