ChampSelectController
scalata.infrastructure.controller.ChampSelectController
class ChampSelectController[F[_]](askClass: F[PlayerClasses])(implicit evidence$1: Sync[F]) extends Controller[F]
Controller for the champion-selection screen.
- Delegates to ChampSelectUseCase to obtain the player’s chosen class.
- Propagates the resulting
(nextPhase, GameBuilder)pair.
Value parameters
- askClass
-
effect that yields the selected PlayerClasses
Attributes
- Graph
-
- Supertypes
Members list
In this article