Versions in this module Expand all Collapse all v0 v0.7.2 Sep 9, 2020 Changes in this version + const ZIndexBottom + const ZIndexTop + func RegisterDrawableComponent(w ecs.BaseWorld, f ecs.Flag, fn GetDrawableFn) + func SetDrawLayerComponentData(w ecs.BaseWorld, e ecs.Entity, data DrawLayer) + func SetParticleEmitterComponentData(w ecs.BaseWorld, e ecs.Entity, data ParticleEmitter) + func SetSpriteAnimationComponentData(w ecs.BaseWorld, e ecs.Entity, data SpriteAnimation) + func SetSpriteComponentData(w ecs.BaseWorld, e ecs.Entity, data Sprite) + func SetTextLabelComponentData(w ecs.BaseWorld, e ecs.Entity, data TextLabel) + func SetTileSetComponentData(w ecs.BaseWorld, e ecs.Entity, data TileSet) + type AnimClipMode byte + const AnimClampForever + const AnimLoop + const AnimOnce + const AnimPingPong + type Animation interface + Count func() int + Each func(fn func(i int, clip AnimationClip) bool) + GetClip func(index int) AnimationClip + GetClipEvents func(index int) []*AnimationEvent + GetClipImage func(clipindex, frame int) *ebiten.Image + GetClipOffset func(clipindex, frame int) (x, y float64) + GetClipRect func(clipindex, frame int) image.Rectangle + type AnimationClip interface + GetEndedEvent func() *AnimationEvent + GetEvents func() []*AnimationEvent + GetFPS func() float64 + GetFrameCount func() int + GetImage func(frame int) *ebiten.Image + GetMode func() AnimClipMode + GetName func() string + GetOffset func(frame int) (x, y float64) + GetRect func(frame int) image.Rectangle + type AnimationEvent struct + Name string + Value string + type AnimationEventFn func(name, value string) + type AnimationEventID int64 + type AnimationEventListeners struct + func (ae *AnimationEventListeners) Add(name string, fn AnimationEventFn) AnimationEventID + func (ae *AnimationEventListeners) AddCatchAll(fn AnimationEventFn) AnimationEventID + func (ae *AnimationEventListeners) Clear() + func (ae *AnimationEventListeners) Dispatch(name, value string) + func (ae *AnimationEventListeners) Remove(id AnimationEventID) bool + type DrawLayer struct + Layer LayerIndex + ZIndex int64 + func GetDrawLayerComponentData(w ecs.BaseWorld, e ecs.Entity) *DrawLayer + type DrawLayerComponent struct + func GetDrawLayerComponent(w ecs.BaseWorld) *DrawLayerComponent + func (DrawLayerComponent) Name() string + func (DrawLayerComponent) UUID() string + func (c *DrawLayerComponent) Data(e ecs.Entity) *DrawLayer + func (c *DrawLayerComponent) Flag() ecs.Flag + func (c *DrawLayerComponent) Remove(e ecs.Entity) + func (c *DrawLayerComponent) Setup(w ecs.BaseWorld, f ecs.Flag, key [4]byte) + func (c *DrawLayerComponent) Upsert(e ecs.Entity, data interface{}) + type DrawLayerDrawableSystem struct + func GetDrawLayerDrawableSystem(w ecs.BaseWorld) *DrawLayerDrawableSystem + func (*DrawLayerDrawableSystem) Priority() int64 + func (DrawLayerDrawableSystem) Name() string + func (DrawLayerDrawableSystem) UUID() string + func (s *DrawLayerDrawableSystem) ComponentAdded(e ecs.Entity, eflag ecs.Flag) + func (s *DrawLayerDrawableSystem) ComponentRemoved(e ecs.Entity, eflag ecs.Flag) + func (s *DrawLayerDrawableSystem) ComponentResized(cflag ecs.Flag) + func (s *DrawLayerDrawableSystem) ComponentWillResize(cflag ecs.Flag) + func (s *DrawLayerDrawableSystem) Disable() + func (s *DrawLayerDrawableSystem) Draw(ctx core.DrawCtx) + func (s *DrawLayerDrawableSystem) DrawPriority(ctx core.DrawCtx) + func (s *DrawLayerDrawableSystem) Enable() + func (s *DrawLayerDrawableSystem) Enabled() bool + func (s *DrawLayerDrawableSystem) Setup(w ecs.BaseWorld) + func (s *DrawLayerDrawableSystem) Update(ctx core.UpdateCtx) + func (s *DrawLayerDrawableSystem) UpdatePriority(ctx core.UpdateCtx) + func (s *DrawLayerDrawableSystem) V() *viewDrawLayerDrawableSystem + type Drawable interface + Draw func(ctx core.DrawCtx, t *components.Transform) + DrawMask func() core.DrawMask + SetDrawMask func(mask core.DrawMask) + Update func(ctx core.UpdateCtx, t *components.Transform) + func GetDrawable(w ecs.BaseWorld, e ecs.Entity) Drawable + type DrawableTextLabelSystem struct + func GetDrawableTextLabelSystem(w ecs.BaseWorld) *DrawableTextLabelSystem + func (*DrawableTextLabelSystem) Priority() int64 + func (DrawableTextLabelSystem) Name() string + func (DrawableTextLabelSystem) UUID() string + func (s *DrawableTextLabelSystem) ComponentAdded(e ecs.Entity, eflag ecs.Flag) + func (s *DrawableTextLabelSystem) ComponentRemoved(e ecs.Entity, eflag ecs.Flag) + func (s *DrawableTextLabelSystem) ComponentResized(cflag ecs.Flag) + func (s *DrawableTextLabelSystem) ComponentWillResize(cflag ecs.Flag) + func (s *DrawableTextLabelSystem) Disable() + func (s *DrawableTextLabelSystem) Draw(ctx core.DrawCtx) + func (s *DrawableTextLabelSystem) DrawPriority(ctx core.DrawCtx) + func (s *DrawableTextLabelSystem) Enable() + func (s *DrawableTextLabelSystem) Enabled() bool + func (s *DrawableTextLabelSystem) Setup(w ecs.BaseWorld) + func (s *DrawableTextLabelSystem) Update(ctx core.UpdateCtx) + func (s *DrawableTextLabelSystem) UpdatePriority(ctx core.UpdateCtx) + func (s *DrawableTextLabelSystem) V() *viewDrawableTextLabelSystem + type EmissionProp struct + Enabled bool + Fn func(ctx core.UpdateCtx, e *ParticleEmitter) bool + N0 int + N1 int + T0 float64 + T1 float64 + type GetDrawableFn func(w ecs.BaseWorld, e ecs.Entity) Drawable + type LayerIndex int64 + type LayerTuple struct + Index LayerIndex + Items *core.EntitySortedList + type Particle struct + type ParticleEmitter struct + func GetParticleEmitterComponentData(w ecs.BaseWorld, e ecs.Entity) *ParticleEmitter + func NewParticleEmitter(w ecs.BaseWorld) ParticleEmitter + func (e *ParticleEmitter) CompositeMode() ebiten.CompositeMode + func (e *ParticleEmitter) Draw(ctx core.DrawCtx, tr *components.Transform) + func (e *ParticleEmitter) DrawMask() core.DrawMask + func (e *ParticleEmitter) EmissionProp() EmissionProp + func (e *ParticleEmitter) Emit(tr *components.Transform) bool + func (e *ParticleEmitter) Enabled() bool + func (e *ParticleEmitter) MaxParticles() int + func (e *ParticleEmitter) Props() ParticleProps + func (e *ParticleEmitter) SetCompositeMode(m ebiten.CompositeMode) *ParticleEmitter + func (e *ParticleEmitter) SetDrawMask(mask core.DrawMask) + func (e *ParticleEmitter) SetEmissionProp(prop EmissionProp) *ParticleEmitter + func (e *ParticleEmitter) SetEnabled(enabled bool) *ParticleEmitter + func (e *ParticleEmitter) SetLockedParticles(locked bool) *ParticleEmitter + func (e *ParticleEmitter) SetMaxParticles(max int) *ParticleEmitter + func (e *ParticleEmitter) SetParentLevel(level uint) *ParticleEmitter + func (e *ParticleEmitter) SetProps(props ParticleProps) *ParticleEmitter + func (e *ParticleEmitter) SetStrategy(strategy SpawnStrategy) *ParticleEmitter + func (e *ParticleEmitter) Update(ctx core.UpdateCtx, tr *components.Transform) + type ParticleEmitterComponent struct + func GetParticleEmitterComponent(w ecs.BaseWorld) *ParticleEmitterComponent + func (ParticleEmitterComponent) Name() string + func (ParticleEmitterComponent) UUID() string + func (c *ParticleEmitterComponent) Data(e ecs.Entity) *ParticleEmitter + func (c *ParticleEmitterComponent) Flag() ecs.Flag + func (c *ParticleEmitterComponent) Remove(e ecs.Entity) + func (c *ParticleEmitterComponent) Setup(w ecs.BaseWorld, f ecs.Flag, key [4]byte) + func (c *ParticleEmitterComponent) Upsert(e ecs.Entity, data interface{}) + type ParticleEmitterSystem struct + func GetParticleEmitterSystem(w ecs.BaseWorld) *ParticleEmitterSystem + func (*ParticleEmitterSystem) Priority() int64 + func (ParticleEmitterSystem) Name() string + func (ParticleEmitterSystem) UUID() string + func (s *ParticleEmitterSystem) ComponentAdded(e ecs.Entity, eflag ecs.Flag) + func (s *ParticleEmitterSystem) ComponentRemoved(e ecs.Entity, eflag ecs.Flag) + func (s *ParticleEmitterSystem) ComponentResized(cflag ecs.Flag) + func (s *ParticleEmitterSystem) ComponentWillResize(cflag ecs.Flag) + func (s *ParticleEmitterSystem) Disable() + func (s *ParticleEmitterSystem) Draw(ctx core.DrawCtx) + func (s *ParticleEmitterSystem) DrawPriority(ctx core.DrawCtx) + func (s *ParticleEmitterSystem) Enable() + func (s *ParticleEmitterSystem) Enabled() bool + func (s *ParticleEmitterSystem) Setup(w ecs.BaseWorld) + func (s *ParticleEmitterSystem) Update(ctx core.UpdateCtx) + func (s *ParticleEmitterSystem) UpdatePriority(ctx core.UpdateCtx) + func (s *ParticleEmitterSystem) V() *viewParticleEmitterSystem + type ParticleProps struct + Duration float64 + DurationVar0 float64 + DurationVar1 float64 + EndColor color.RGBA + EndRotationAccelVar0 float64 + EndRotationAccelVar1 float64 + EndScale float64 + EndScaleVar0 float64 + EndScaleVar1 float64 + HueRotationSpeed float64 + InitColor color.RGBA + InitScale float64 + InitScaleVar0 float64 + InitScaleVar1 float64 + OriginX float64 + OriginY float64 + Rotation float64 + RotationAccelVar0 float64 + RotationAccelVar1 float64 + RotationVar0 float64 + RotationVar1 float64 + RotationVelocityVar0 float64 + RotationVelocityVar1 float64 + Source []*ebiten.Image + X float64 + XAccel float64 + XAccelVar0 float64 + XAccelVar1 float64 + XVar0 float64 + XVar1 float64 + XVelocity float64 + XVelocityVar0 float64 + XVelocityVar1 float64 + Y float64 + YAccel float64 + YAccelVar0 float64 + YAccelVar1 float64 + YVar0 float64 + YVar1 float64 + YVelocity float64 + YVelocityVar0 float64 + YVelocityVar1 float64 + func (pp *ParticleProps) SetPositionRange(xmin, xmax, ymin, ymax float64) + func (pp *ParticleProps) SetVelocityRange(xmin, xmax, ymin, ymax float64) + func (pp ParticleProps) NewParticle(rng *rand.Rand) Particle + type PcAnimClip struct + ClipMode AnimClipMode + EndedEvent *AnimationEvent + Events []*AnimationEvent + Fps float64 + Frames []PcFrame + Name string + func (c PcAnimClip) GetEndedEvent() *AnimationEvent + func (c PcAnimClip) GetEvents() []*AnimationEvent + func (c PcAnimClip) GetFPS() float64 + func (c PcAnimClip) GetFrameCount() int + func (c PcAnimClip) GetImage(frame int) *ebiten.Image + func (c PcAnimClip) GetMode() AnimClipMode + func (c PcAnimClip) GetName() string + func (c PcAnimClip) GetOffset(frame int) (x, y float64) + func (c PcAnimClip) GetRect(frame int) image.Rectangle + type PcFrame struct + Image *ebiten.Image + OffsetX float64 + OffsetY float64 + Rect image.Rectangle + type PrecomputedAnimation struct + Clips []PcAnimClip + func (a *PrecomputedAnimation) Count() int + func (a *PrecomputedAnimation) Each(fn func(i int, clip AnimationClip) bool) + func (a *PrecomputedAnimation) GetClip(index int) AnimationClip + func (a *PrecomputedAnimation) GetClipEvents(index int) []*AnimationEvent + func (a *PrecomputedAnimation) GetClipImage(clipi, frame int) *ebiten.Image + func (a *PrecomputedAnimation) GetClipOffset(clipi, frame int) (x, y float64) + func (a *PrecomputedAnimation) GetClipRect(clipi, frame int) image.Rectangle + type SoloDrawableSystem struct + func GetSoloDrawableSystem(w ecs.BaseWorld) *SoloDrawableSystem + func (*SoloDrawableSystem) Priority() int64 + func (SoloDrawableSystem) Name() string + func (SoloDrawableSystem) UUID() string + func (s *SoloDrawableSystem) ComponentAdded(e ecs.Entity, eflag ecs.Flag) + func (s *SoloDrawableSystem) ComponentRemoved(e ecs.Entity, eflag ecs.Flag) + func (s *SoloDrawableSystem) ComponentResized(cflag ecs.Flag) + func (s *SoloDrawableSystem) ComponentWillResize(cflag ecs.Flag) + func (s *SoloDrawableSystem) Disable() + func (s *SoloDrawableSystem) Draw(ctx core.DrawCtx) + func (s *SoloDrawableSystem) DrawPriority(ctx core.DrawCtx) + func (s *SoloDrawableSystem) Enable() + func (s *SoloDrawableSystem) Enabled() bool + func (s *SoloDrawableSystem) Setup(w ecs.BaseWorld) + func (s *SoloDrawableSystem) Update(ctx core.UpdateCtx) + func (s *SoloDrawableSystem) UpdatePriority(ctx core.UpdateCtx) + func (s *SoloDrawableSystem) V() *viewSoloDrawableSystem + type SpawnStrategy int + const SpawnPause + const SpawnReplace + type Sprite struct + func GetSpriteComponentData(w ecs.BaseWorld, e ecs.Entity) *Sprite + func NewSprite(x, y float64, quad *ebiten.Image) Sprite + func (s *Sprite) Draw(ctx core.DrawCtx, t *components.Transform) + func (s *Sprite) DrawMask() core.DrawMask + func (s *Sprite) Image() *ebiten.Image + func (s *Sprite) Origin() (ox, oy float64) + func (s *Sprite) ResetColorMatrix() + func (s *Sprite) RotateHue(theta float64) + func (s *Sprite) SetCompositeMode(mode ebiten.CompositeMode) + func (s *Sprite) SetDrawMask(mask core.DrawMask) + func (s *Sprite) SetEnabled(enabled bool) *Sprite + func (s *Sprite) SetImage(img *ebiten.Image) *Sprite + func (s *Sprite) SetOffset(x, y float64) *Sprite + func (s *Sprite) SetOrigin(ox, oy float64) *Sprite + func (s *Sprite) Update(ctx core.UpdateCtx, t *components.Transform) + type SpriteAnimation struct + func GetSpriteAnimationComponentData(w ecs.BaseWorld, e ecs.Entity) *SpriteAnimation + func NewSpriteAnimation(fps float64, anim Animation) SpriteAnimation + func (a *SpriteAnimation) AddEventListener(name string, fn AnimationEventFn) AnimationEventID + func (a *SpriteAnimation) AddEventListenerW(fn AnimationEventFn) AnimationEventID + func (a *SpriteAnimation) AnimEvent(name, value string) + func (a *SpriteAnimation) Animation() Animation + func (a *SpriteAnimation) PlayClip(name string) bool + func (a *SpriteAnimation) PlayClipFrame(name string, frame int) bool + func (a *SpriteAnimation) PlayClipIndex(i int) bool + func (a *SpriteAnimation) PlayClipIndexFrame(i, frame int) bool + func (a *SpriteAnimation) Playing() bool + func (a *SpriteAnimation) RemoveEventListener(id AnimationEventID) bool + func (a *SpriteAnimation) Reversed() bool + func (a *SpriteAnimation) SetAnimation(anim Animation) + func (a *SpriteAnimation) SetReversed(reversed bool) + type SpriteAnimationComponent struct + func GetSpriteAnimationComponent(w ecs.BaseWorld) *SpriteAnimationComponent + func (SpriteAnimationComponent) Name() string + func (SpriteAnimationComponent) UUID() string + func (c *SpriteAnimationComponent) Data(e ecs.Entity) *SpriteAnimation + func (c *SpriteAnimationComponent) Flag() ecs.Flag + func (c *SpriteAnimationComponent) Remove(e ecs.Entity) + func (c *SpriteAnimationComponent) Setup(w ecs.BaseWorld, f ecs.Flag, key [4]byte) + func (c *SpriteAnimationComponent) Upsert(e ecs.Entity, data interface{}) + type SpriteAnimationSystem struct + func GetSpriteAnimationSystem(w ecs.BaseWorld) *SpriteAnimationSystem + func (*SpriteAnimationSystem) Priority() int64 + func (SpriteAnimationSystem) Name() string + func (SpriteAnimationSystem) UUID() string + func (s *SpriteAnimationSystem) ComponentAdded(e ecs.Entity, eflag ecs.Flag) + func (s *SpriteAnimationSystem) ComponentRemoved(e ecs.Entity, eflag ecs.Flag) + func (s *SpriteAnimationSystem) ComponentResized(cflag ecs.Flag) + func (s *SpriteAnimationSystem) ComponentWillResize(cflag ecs.Flag) + func (s *SpriteAnimationSystem) Disable() + func (s *SpriteAnimationSystem) Draw(ctx core.DrawCtx) + func (s *SpriteAnimationSystem) DrawPriority(ctx core.DrawCtx) + func (s *SpriteAnimationSystem) Enable() + func (s *SpriteAnimationSystem) Enabled() bool + func (s *SpriteAnimationSystem) Setup(w ecs.BaseWorld) + func (s *SpriteAnimationSystem) Update(ctx core.UpdateCtx) + func (s *SpriteAnimationSystem) UpdatePriority(ctx core.UpdateCtx) + func (s *SpriteAnimationSystem) V() *viewSpriteAnimationSystem + type SpriteComponent struct + func GetSpriteComponent(w ecs.BaseWorld) *SpriteComponent + func (SpriteComponent) Name() string + func (SpriteComponent) UUID() string + func (c *SpriteComponent) Data(e ecs.Entity) *Sprite + func (c *SpriteComponent) Flag() ecs.Flag + func (c *SpriteComponent) Remove(e ecs.Entity) + func (c *SpriteComponent) Setup(w ecs.BaseWorld, f ecs.Flag, key [4]byte) + func (c *SpriteComponent) Upsert(e ecs.Entity, data interface{}) + type TextLabel struct + func GetTextLabelComponentData(w ecs.BaseWorld, e ecs.Entity) *TextLabel + func NewTextLabel() TextLabel + func (l *TextLabel) ComputedSize() image.Point + func (l *TextLabel) Draw(ctx core.DrawCtx, tr *components.Transform) + func (l *TextLabel) DrawMask() core.DrawMask + func (l *TextLabel) FontFaceHeight() int + func (l *TextLabel) ResetTextOffset() + func (l *TextLabel) SetColor(c color.Color) *TextLabel + func (l *TextLabel) SetDrawMask(mask core.DrawMask) + func (l *TextLabel) SetFaceOffset(x, y int) *TextLabel + func (l *TextLabel) SetFaceOffsetModeAuto(auto bool) *TextLabel + func (l *TextLabel) SetFilter(f ebiten.Filter) + func (l *TextLabel) SetOrigin(ox, oy float64) *TextLabel + func (l *TextLabel) SetText(t string) *TextLabel + func (l *TextLabel) Update(ctx core.UpdateCtx, tr *components.Transform) + type TextLabelComponent struct + func GetTextLabelComponent(w ecs.BaseWorld) *TextLabelComponent + func (TextLabelComponent) Name() string + func (TextLabelComponent) UUID() string + func (c *TextLabelComponent) Data(e ecs.Entity) *TextLabel + func (c *TextLabelComponent) Flag() ecs.Flag + func (c *TextLabelComponent) Remove(e ecs.Entity) + func (c *TextLabelComponent) Setup(w ecs.BaseWorld, f ecs.Flag, key [4]byte) + func (c *TextLabelComponent) Upsert(e ecs.Entity, data interface{}) + type TileSet struct + func GetTileSetComponentData(w ecs.BaseWorld, e ecs.Entity) *TileSet + func NewTileSet(db []*ebiten.Image, rows, cols int, cellwidthpx, cellheightpx float64, ...) TileSet + func (s *TileSet) DrawMask() core.DrawMask + func (s *TileSet) Origin() (ox, oy float64) + func (s *TileSet) SetCells(cells []int) *TileSet + func (s *TileSet) SetColsRows(cols, rows int) *TileSet + func (s *TileSet) SetDB(db []*ebiten.Image) *TileSet + func (s *TileSet) SetDrawMask(mask core.DrawMask) + func (s *TileSet) SetEnabled(enabled bool) *TileSet + func (s *TileSet) SetOffset(x, y float64) *TileSet + func (s *TileSet) SetOrigin(ox, oy float64) *TileSet + func (t *TileSet) Draw(ctx core.DrawCtx, tr *components.Transform) + func (t *TileSet) Update(ctx core.UpdateCtx, tr *components.Transform) + type TileSetComponent struct + func GetTileSetComponent(w ecs.BaseWorld) *TileSetComponent + func (TileSetComponent) Name() string + func (TileSetComponent) UUID() string + func (c *TileSetComponent) Data(e ecs.Entity) *TileSet + func (c *TileSetComponent) Flag() ecs.Flag + func (c *TileSetComponent) Remove(e ecs.Entity) + func (c *TileSetComponent) Setup(w ecs.BaseWorld, f ecs.Flag, key [4]byte) + func (c *TileSetComponent) Upsert(e ecs.Entity, data interface{}) + type TiledAnimation struct + Clips []TiledAnimationClip + func (a *TiledAnimation) Count() int + func (a *TiledAnimation) Each(fn func(i int, clip AnimationClip) bool) + func (a *TiledAnimation) GetClip(index int) AnimationClip + func (a *TiledAnimation) GetClipEvents(index int) []*AnimationEvent + func (a *TiledAnimation) GetClipImage(clipi, frame int) *ebiten.Image + func (a *TiledAnimation) GetClipOffset(clipi, frame int) (x, y float64) + func (a *TiledAnimation) GetClipRect(clipi, frame int) image.Rectangle + type TiledAnimationClip struct + ClipMode AnimClipMode + EndedEvent *AnimationEvent + Events []*AnimationEvent + Fps float64 + Frames []image.Rectangle + Image *ebiten.Image + Name string + func (c TiledAnimationClip) GetEndedEvent() *AnimationEvent + func (c TiledAnimationClip) GetEvents() []*AnimationEvent + func (c TiledAnimationClip) GetFPS() float64 + func (c TiledAnimationClip) GetFrameCount() int + func (c TiledAnimationClip) GetImage(frame int) *ebiten.Image + func (c TiledAnimationClip) GetMode() AnimClipMode + func (c TiledAnimationClip) GetName() string + func (c TiledAnimationClip) GetOffset(frame int) (x, y float64) + func (c TiledAnimationClip) GetRect(frame int) image.Rectangle + type VIDrawLayerDrawableSystem struct + DrawLayer *DrawLayer + Drawable Drawable + Entity ecs.Entity + Transform *components.Transform + type VIDrawableTextLabelSystem struct + Entity ecs.Entity + TextLabel *TextLabel + Transform *components.Transform + type VIParticleEmitterSystem struct + Entity ecs.Entity + ParticleEmitter *ParticleEmitter + Transform *components.Transform + type VISoloDrawableSystem struct + Drawable Drawable + Entity ecs.Entity + Transform *components.Transform + type VISpriteAnimationSystem struct + Entity ecs.Entity + Sprite *Sprite + SpriteAnimation *SpriteAnimation + type WatchDrawLayer interface + Data func() *DrawLayer + Entity func() ecs.Entity + func WatchDrawLayerComponentData(w ecs.BaseWorld, e ecs.Entity) WatchDrawLayer + type WatchParticleEmitter interface + Data func() *ParticleEmitter + Entity func() ecs.Entity + func WatchParticleEmitterComponentData(w ecs.BaseWorld, e ecs.Entity) WatchParticleEmitter + type WatchSprite interface + Data func() *Sprite + Entity func() ecs.Entity + func WatchSpriteComponentData(w ecs.BaseWorld, e ecs.Entity) WatchSprite + type WatchSpriteAnimation interface + Data func() *SpriteAnimation + Entity func() ecs.Entity + func WatchSpriteAnimationComponentData(w ecs.BaseWorld, e ecs.Entity) WatchSpriteAnimation + type WatchTextLabel interface + Data func() *TextLabel + Entity func() ecs.Entity + func WatchTextLabelComponentData(w ecs.BaseWorld, e ecs.Entity) WatchTextLabel + type WatchTileSet interface + Data func() *TileSet + Entity func() ecs.Entity + func WatchTileSetComponentData(w ecs.BaseWorld, e ecs.Entity) WatchTileSet