Documentation ¶
Index ¶
Constants ¶
View Source
const ( STOPWATCH_PATH = "stopwatch.png" POINTER_PATH = "pointer.png" )
View Source
const (
FONT_PATH = "m50.ttf"
)
Variables ¶
This section is empty.
Functions ¶
func NewClock2Vis ¶
func NewClock2Vis() *clock2Vis
func NewClockVis ¶
func NewClockVis() *clockVis
func NewGameVis ¶
func NewGameVis() *gameVis
func NewmockRaces_UpdateRaceServer ¶
func NewmockRaces_UpdateRaceServer( maxWait, minWait, maxDistanceDelta, minDistanceDelta, playerCount, maxDistance, maxTime int) *mockRaces_UpdateRaceServer
func VisualServer ¶
func VisualServer(cfg core.VisualConfig)
Types ¶
type BaseVis ¶
type BaseVis struct { VisInterface // contains filtered or unexported fields }
func (*BaseVis) GetVisCfg ¶
func (b *BaseVis) GetVisCfg() *pb.VisConfiguration
func (*BaseVis) IsConfigured ¶
func (*BaseVis) ResetConfiguration ¶
type RacingData ¶
type RacingData struct {
// contains filtered or unexported fields
}
type VisInterface ¶
type VisInterface interface { pb.VisualServer Run() ResetConfiguration() bool IsConfigured() bool GetVisCfg() *pb.VisConfiguration Clear() // contains filtered or unexported methods }
func Reconfigure ¶
func Reconfigure(b VisInterface) VisInterface
Click to show internal directories.
Click to hide internal directories.