Documentation ¶ Index ¶ func DrawGameStats(playerLeft player.Player, playerRight player.Player) type Layout func NewLayout(playerO string, playerX string) Layout Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DrawGameStats ¶ func DrawGameStats(playerLeft player.Player, playerRight player.Player) Types ¶ type Layout ¶ type Layout interface { Update(screen *ebiten.Image) error ToggleMenu() bool GetGame() Game // TODO Add possibility to pause, resume and restart the game GetMenu() Menu Draw(screen *ebiten.Image) } func NewLayout ¶ func NewLayout(playerO string, playerX string) Layout Source Files ¶ View all Source files draw.go game-stats.go layout.go listeners.go update.go Directories ¶ Show internal Expand all Path Synopsis menu btn pages Click to show internal directories. Click to hide internal directories.