Versions in this module Expand all Collapse all v0 v0.4.2 Jun 11, 2022 Changes in this version + type Switch struct + Index int + func New(start int, m map[int]render.Modifiable) *Switch + func (c *Switch) Add(k int, v render.Modifiable) (err error) + func (c *Switch) Copy() render.Modifiable + func (c *Switch) Draw(buff draw.Image, xOff float64, yOff float64) + func (c *Switch) Filter(fs ...mod.Filter) + func (c *Switch) Get() int + func (c *Switch) GetDims() (int, int) + func (c *Switch) GetRGBA() *image.RGBA + func (c *Switch) GetSub(s int) render.Modifiable + func (c *Switch) IsInterruptable() bool + func (c *Switch) IsStatic() bool + func (c *Switch) Modify(ms ...mod.Mod) render.Modifiable + func (c *Switch) Pause() + func (c *Switch) Revert(mod int) + func (c *Switch) RevertAll() + func (c *Switch) Set(k int) error + func (c *Switch) SetOffsets(k int, offsets physics.Vector) + func (c *Switch) SetTriggerID(cid event.CID) + func (c *Switch) ShiftPos(x, y float64) + func (c *Switch) Unpause()