fire_game_infra library
Classes
- CheckResult
- Result for game action.
- CheckResultFailure
- Failure result.
- CheckResultSuccess
- Successful result.
- FirebaseRoomData
- Representation of Firebase room document.
- Game
- Define the rules for the game.
-
GameBuilder<
T extends GameState> - Receive live updates from the connected room from Firebase.
- GameEvent
- Game event info.
- GameHasNotStarted
- GameHasStarted
- GameManager
- Interface used to send events and read updates to the room and game state.
- GameState
- Define the game's structure.
- NotEnoughPlayers
- NotRoomHost
- Player
- Player representation.
- RoomData
- Contains relevant room data.
-
RoomDataGameState<
T extends GameState> - Contains relevant room data and the game state.
- RoomsBuilder
- Receive live updates of the list of rooms for the specified game from Firebase.
- TooManyPlayers
- UndefinedGameResponse