diff --git a/DouShouQi_App/DouShouQi_App/Views/Menu/MainMenuView.swift b/DouShouQi_App/DouShouQi_App/Views/Menu/MainMenuView.swift index cc7382d..103e633 100644 --- a/DouShouQi_App/DouShouQi_App/Views/Menu/MainMenuView.swift +++ b/DouShouQi_App/DouShouQi_App/Views/Menu/MainMenuView.swift @@ -6,6 +6,7 @@ // import SwiftUI +import DouShouQiModel struct MainMenuView: View { @@ -69,7 +70,7 @@ struct MainMenuView: View { SettingsView() } .navigationDestination(isPresented: $showARKit) { - ARKitUIViewBoard(aRKitViewRepresentable: ARKitViewRepresentable()) + ARKitUIViewRepresentable(aRKitView: ARKitView(playingGameVM: PlayingGameVM(withRules: ClassicRules(), andPlayer1: HumanPlayer(withName: "Player 1", andId: .player1)!, andPlayer2: HumanPlayer(withName: "Player 2", andId: .player2)!)!)) } if let currentImage = currentImage {