Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RobotInterface ¶
type RobotInterface interface { EnqueueTask(commands string) ( taskId int64, positionChannel chan RobotState, errorChannel chan error) CancelTask(taskId int64) error CurrentState() RobotState }
func NewRobot ¶
func NewRobot( logger *zap.SugaredLogger, id int64, x int, y int, boardHeight int, boardWidth int, eventpublisherService eventpublisher.EventPublisherInterface, idGeneratorService idgenerator.IdGeneratorInterface) ( RobotInterface, error)
type RobotState ¶
Click to show internal directories.
Click to hide internal directories.