Documentation ¶
Index ¶
- Constants
- type Bot
- func (b *Bot) AsGoalkeeper(ctx context.Context, sender lugo4go.TurnOrdersSender, ...) error
- func (b *Bot) MyInitialPosition() *proto.Point
- func (b *Bot) OnDefending(ctx context.Context, sender lugo4go.TurnOrdersSender, ...) error
- func (b *Bot) OnDisputing(ctx context.Context, sender lugo4go.TurnOrdersSender, ...) error
- func (b *Bot) OnHolding(ctx context.Context, sender lugo4go.TurnOrdersSender, ...) error
- func (b *Bot) OnSupporting(ctx context.Context, sender lugo4go.TurnOrdersSender, ...) error
- type PlayerActionRegions
- type RegionCode
- type Role
- type TeamState
Constants ¶
View Source
const ( FieldGridCols = 10 FieldGridRows = 8 )
if you change the number of cols/rows you must update the roleMap variable!
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct { Role Role // contains filtered or unexported fields }
func (*Bot) AsGoalkeeper ¶
func (*Bot) MyInitialPosition ¶
func (*Bot) OnDefending ¶
func (*Bot) OnDisputing ¶
func (*Bot) OnSupporting ¶
type PlayerActionRegions ¶
type PlayerActionRegions map[TeamState]RegionCode
func DefinePlayerActionRegions ¶
func DefinePlayerActionRegions(number uint32) PlayerActionRegions
type RegionCode ¶
Click to show internal directories.
Click to hide internal directories.