mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Added alliance station display.
This commit is contained in:
2
arena.go
2
arena.go
@@ -75,6 +75,7 @@ type Arena struct {
|
||||
audienceDisplayNotifier *Notifier
|
||||
playSoundNotifier *Notifier
|
||||
audienceDisplayScreen string
|
||||
allianceStationDisplays map[string]string
|
||||
lastMatchState int
|
||||
lastMatchTimeSec float64
|
||||
savedMatch *Match
|
||||
@@ -118,6 +119,7 @@ func (arena *Arena) Setup() {
|
||||
arena.audienceDisplayScreen = "blank"
|
||||
arena.savedMatch = &Match{}
|
||||
arena.savedMatchResult = &MatchResult{}
|
||||
arena.allianceStationDisplays = make(map[string]string)
|
||||
}
|
||||
|
||||
// Loads a team into an alliance station, cleaning up the previous team there if there is one.
|
||||
|
||||
Reference in New Issue
Block a user