GameRunningUseCase
scalata.application.usecases.GameRunningUseCase
class GameRunningUseCase
Use-case that executes a full game turn:
==== Flow ====
-
Parse player command → run the matching player use-case.
-
On success → apply two enemy phases in order:
-
EnemyAttackUseCase -
EnemyMovementUseCase -
Error commands (quit / undo / help) return a corresponding
GameError.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article