룰렛 최대 개수 수정

AS-IS : 최대 6개
TO-BE : 최대 10개

룰렛 확률 수정
AS-IS : 소수점 없음
TO-BE : 소수점 2자리
This commit is contained in:
Yu Sung
2023-12-26 15:56:04 +09:00
parent f4bd1c4487
commit 208fc77b7f
5 changed files with 12 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ import SwiftUI
class RouletteOption: ObservableObject {
var title: String
var weight: Int
var percentage: Int = 50
var percentage: String = "50.00"
init(title: String, weight: Int) {
self.title = title