룰렛 설정 다이얼로그 뷰 추가

This commit is contained in:
Yu Sung
2023-12-06 16:43:41 +09:00
parent 9622e9b55d
commit ff7144f708
15 changed files with 536 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
//
// RouletteOption.swift
// SodaLive
//
// Created by klaus on 2023/12/05.
//
import SwiftUI
class RouletteOption: ObservableObject {
var title: String
var weight: Int
var percentage: Int = 50
init(title: String, weight: Int) {
self.title = title
self.weight = weight
}
}