Files
diehammer/DieHammer/Views/LandscapeVariants/ShowPoolLandscape.swift
T
2026-09-07 15:27:33 -05:00

30 lines
573 B
Swift

//
// SwiftUIView.swift
// Bunch O' Dice
//
// Created by Rory Martin Hinnen on 6/7/22.
//
import SwiftUI
struct ShowPoolLandscape: View {
@EnvironmentObject var current: Roll
var body: some View {
HStack {
Spacer()
ForEach(Dice.DiceType.allCases, id: \.rawValue) { i in
SingleDie(whichDie: i)
}
Spacer()
}
}
}
struct ShowPool_Previews: PreviewProvider {
static var previews: some View {
ShowPoolLandscape()
.environmentObject(Roll())
}
}