ChampSelectView
scalata.infrastructure.view.terminal.ChampSelectView
class ChampSelectView[F[_]](val view: GameView[F, String])(implicit evidence$1: Sync[F]) extends View[ChampSelectView[F], String, PlayerClasses, String, F]
Champion-selection screen.
The view extends the generic View template, supplying: • an ASCII banner that lists available possible inputs; • a parse implementation that maps raw user input.
Type parameters
- F
-
effect type (e.g.
IO)
Value parameters
- view
-
low-level GameView through which all rendering and input occur (dependency-injected so that we stay UI-agnostic).
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article