Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name ... Name = "moon" // EntityMoon ... EntityMoon = string("moon") )
View Source
const ( // StateAboveHorizon ... StateAboveHorizon = "aboveHorizon" // StateBelowHorizon ... StateBelowHorizon = "belowHorizon" )
View Source
const ( // StateNewMoon ... StateNewMoon = "new_moon" // StateWaxingCrescent ... StateWaxingCrescent = "waxing_crescent" // StateFirstQuarter ... StateFirstQuarter = "first_quarter" // StateWaxingGibbous ... StateWaxingGibbous = "waxing_gibbous" // StateFullMoon ... StateFullMoon = "full_moon" // StateWaningGibbous ... StateWaningGibbous = "waning_gibbous" // StateThirdQuarter ... StateThirdQuarter = "third_quarter" // StateWaningCrescent ... StateWaningCrescent = "waning_crescent" )
View Source
const ( // AttrHorizonState ... AttrHorizonState = "horizonState" // AttrPhase ... AttrPhase = "phase" // AttrAzimuth ... AttrAzimuth = "azimuth" // AttrElevation ... AttrElevation = "elevation" // AttrLat ... AttrLat = "lat" // AttrLon ... AttrLon = "lon" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Actor ¶
type Actor struct { entity_manager.BaseActor // contains filtered or unexported fields }
Actor ...
func NewActor ¶
func NewActor(entity *m.Entity, entityManager entity_manager.EntityManager, adaptors *adaptors.Adaptors, scriptService scripts.ScriptService, eventBus bus.Bus) *Actor
NewActor ...
func (*Actor) UpdateMoonPosition ¶
UpdateMoonPosition ...
Click to show internal directories.
Click to hide internal directories.