diff --git a/DouShouQi_App/DouShouQi_App/ViewModel/Players/PlayerVM.swift b/DouShouQi_App/DouShouQi_App/ViewModel/Players/PlayerVM.swift index 67fc7f7..1d8f262 100644 --- a/DouShouQi_App/DouShouQi_App/ViewModel/Players/PlayerVM.swift +++ b/DouShouQi_App/DouShouQi_App/ViewModel/Players/PlayerVM.swift @@ -35,5 +35,10 @@ public class PlayerVM: ObservableObject, Identifiable, Hashable{ init(player: Player) { self.player = player } + + convenience init() { + self.init(player: Player(name: "IA", photo: "")) + } + }