Documentation ¶
Index ¶
- func CreatePanels(panelInfo PanelInfo, panelLayout PanelLayout) (*[][]panel.Panel, error)
- func CreateVirtualBoard(panelWidth int, numberOfPanelsWide int, msgCharsAsDots []fontmap.Letter, ...) virtualboard.VirtualBoard
- func DisableCountdownClock(board *Flipboard)
- func DisplayMessageToPanels(board *Flipboard, msg *options.FlipboardMessageOptions)
- func EnableCountdownClock(board *Flipboard)
- func Play(board *Flipboard)
- func SetCountdownClock(board *Flipboard, val string) error
- type Flipboard
- func (b *Flipboard) DebugPanelAddressByGoingInOrder()
- func (b *Flipboard) DebugSinglePanel(address int)
- func (b *Flipboard) Enqueue(msg *options.FlipboardMessageOptions)
- func (b *Flipboard) GetPanel(x, y int) *panel.Panel
- func (b *Flipboard) SendAllPanelsAtOnce()
- func (b *Flipboard) SendPanelByPanel()
- func (b *Flipboard) SetAll(val bool)
- type Opts
- type PanelAddress
- type PanelInfo
- type PanelLayout
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePanels ¶
func CreatePanels(panelInfo PanelInfo, panelLayout PanelLayout) (*[][]panel.Panel, error)
func CreateVirtualBoard ¶
func CreateVirtualBoard(panelWidth int, numberOfPanelsWide int, msgCharsAsDots []fontmap.Letter, msg string) virtualboard.VirtualBoard
func DisableCountdownClock ¶
func DisableCountdownClock(board *Flipboard)
func DisplayMessageToPanels ¶
func DisplayMessageToPanels(board *Flipboard, msg *options.FlipboardMessageOptions)
func EnableCountdownClock ¶
func EnableCountdownClock(board *Flipboard)
func SetCountdownClock ¶
Types ¶
type Flipboard ¶
type Flipboard struct { PanelInfo PanelInfo PanelAddressesLayout [][]PanelAddress // contains filtered or unexported fields }
func NewFlipboard ¶
func NewFlipboard(info PanelInfo, layout [][]PanelAddress, opts ...Opts) (*Flipboard, error)
func (*Flipboard) DebugPanelAddressByGoingInOrder ¶
func (b *Flipboard) DebugPanelAddressByGoingInOrder()
func (*Flipboard) DebugSinglePanel ¶
func (*Flipboard) Enqueue ¶
func (b *Flipboard) Enqueue(msg *options.FlipboardMessageOptions)
func (*Flipboard) SendAllPanelsAtOnce ¶
func (b *Flipboard) SendAllPanelsAtOnce()
func (*Flipboard) SendPanelByPanel ¶
func (b *Flipboard) SendPanelByPanel()
type PanelAddress ¶
type PanelAddress int
type PanelLayout ¶
type PanelLayout [][]PanelAddress
Click to show internal directories.
Click to hide internal directories.