20 lines
342 B
Go
20 lines
342 B
Go
package ui
|
|
|
|
import (
|
|
"github.com/tolelom/catacombs/game"
|
|
"github.com/tolelom/catacombs/store"
|
|
)
|
|
|
|
// Context holds shared state accessible to all screens.
|
|
type Context struct {
|
|
Width int
|
|
Height int
|
|
Fingerprint string
|
|
PlayerName string
|
|
|
|
Lobby *game.Lobby
|
|
Store *store.DB
|
|
Session *game.GameSession
|
|
RoomCode string
|
|
}
|