Documentation
¶
Index ¶
Constants ¶
View Source
const ( ShipTypeTrader ShipTypeProbe )
View Source
const MaximumTraderShips = 40
Variables ¶
View Source
var ( ErrorCannotPlanRoute = errors.New("shipController: could not plan route from specified destination") ErrorNotEnoughFuel = errors.New("shipController: not enough fuel for journey and cannot buy any more") ErrorCannotPickCargo = errors.New("shipController: could not choose a cargo (this is probably a programming error") )
Functions ¶
Types ¶
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
func (*Core) ReportProfit ¶
func (*Core) TriggerStop ¶
func (c *Core) TriggerStop()
func (*Core) WriteToStdout ¶
type ShipController ¶
type ShipController struct {
// contains filtered or unexported fields
}
func NewShipController ¶
func (*ShipController) Start ¶
func (s *ShipController) Start()
Click to show internal directories.
Click to hide internal directories.