From 64e59a00efc3dd7af2d3fd092309c54e9277a474 Mon Sep 17 00:00:00 2001 From: eemdeeks Date: Sat, 20 Jan 2024 18:49:42 +0900 Subject: [PATCH] add: PlayerSelectionObservable (#128) --- .../PlayerSelectionObservable.swift | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Projects/Presentation/Sources/Observable/PlayerSelectionObservable.swift diff --git a/Projects/Presentation/Sources/Observable/PlayerSelectionObservable.swift b/Projects/Presentation/Sources/Observable/PlayerSelectionObservable.swift new file mode 100644 index 0000000..7b7f3b9 --- /dev/null +++ b/Projects/Presentation/Sources/Observable/PlayerSelectionObservable.swift @@ -0,0 +1,25 @@ +// +// PlayerSelectionObservable.swift +// Presentation +// +// Created by 박승찬 on 1/20/24. +// Copyright © 2024 com.pivoters. All rights reserved. +// + +import Foundation + +import Domain + +@Observable +class PlayerSelectionObservable { + var team: Team + var members: [Player] + var useCase: PlayerUseCase + + init(team: Team, members: [Player], useCase: PlayerUseCase) { + self.team = team + self.members = members + self.useCase = useCase + } + +}