Documentation ¶
Index ¶
- type Animation
- func (self *Animation) AddFrame(frame *ebiten.Image, frameTicks uint8)
- func (self *Animation) AddFrameWithSfx(frame *ebiten.Image, frameTicks uint8, sfxKey SfxKey)
- func (self *Animation) FrameTicksElapsed() uint8
- func (self *Animation) GetCurrentFrame() *ebiten.Image
- func (self *Animation) InPreLoopPhase() bool
- func (self *Animation) Name() string
- func (self *Animation) Rewind(soundscape *audio.Soundscape)
- func (self *Animation) RewindToLoop(soundscape *audio.Soundscape)
- func (self *Animation) SetLoopStart(index uint8)
- func (self *Animation) SkipIntro(soundscape *audio.Soundscape)
- func (self *Animation) Update(soundscape *audio.Soundscape)
- type SfxKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Animation ¶
type Animation struct {
// contains filtered or unexported fields
}
func NewAnimation ¶
func (*Animation) AddFrameWithSfx ¶
func (*Animation) FrameTicksElapsed ¶
func (*Animation) GetCurrentFrame ¶
func (self *Animation) GetCurrentFrame() *ebiten.Image
func (*Animation) InPreLoopPhase ¶
func (*Animation) Rewind ¶
func (self *Animation) Rewind(soundscape *audio.Soundscape)
func (*Animation) RewindToLoop ¶
func (self *Animation) RewindToLoop(soundscape *audio.Soundscape)
func (*Animation) SetLoopStart ¶
func (*Animation) SkipIntro ¶
func (self *Animation) SkipIntro(soundscape *audio.Soundscape)
func (*Animation) Update ¶
func (self *Animation) Update(soundscape *audio.Soundscape)
Click to show internal directories.
Click to hide internal directories.