Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
Bot will be in charge of running the run loop: create games, traveling, killing bosses, repairing, picking...
func (*Bot) TogglePause ¶
func (b *Bot) TogglePause()
type CompanionGameData ¶
type CompanionSupervisor ¶
type CompanionSupervisor struct {
// contains filtered or unexported fields
}
func NewCompanionSupervisor ¶
func NewCompanionSupervisor(logger *zap.Logger, bot *Bot, gr *reader.GameReader, gm *helper.GameManager) *CompanionSupervisor
func (*CompanionSupervisor) JoinGame ¶
func (s *CompanionSupervisor) JoinGame(gameName, password string)
func (*CompanionSupervisor) Start ¶
Start will stay running during the application lifecycle, it will orchestrate all the required bot pieces
func (*CompanionSupervisor) TogglePause ¶
func (s *CompanionSupervisor) TogglePause()
type SinglePlayerSupervisor ¶
type SinglePlayerSupervisor struct {
// contains filtered or unexported fields
}
func NewSinglePlayerSupervisor ¶
func NewSinglePlayerSupervisor(logger *zap.Logger, bot *Bot, gr *reader.GameReader, gm *helper.GameManager) *SinglePlayerSupervisor
func (*SinglePlayerSupervisor) Start ¶
Start will stay running during the application lifecycle, it will orchestrate all the required bot pieces
func (*SinglePlayerSupervisor) TogglePause ¶
func (s *SinglePlayerSupervisor) TogglePause()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.