GameRunView

scalata.infrastructure.view.terminal.GameRunView
class GameRunView[F[_]](val view: GameView[F, String])(implicit evidence$1: Sync[F])

Game Running 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 Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def ask(gameSession: GameSession): F[PlayerCommand]

Concrete fields

val view: GameView[F, String]