Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Particle ¶
type Particle struct {
// contains filtered or unexported fields
}
func (*Particle) UpdateRandomDir ¶
func (p *Particle) UpdateRandomDir()
func (*Particle) UpdateUpDir ¶
func (p *Particle) UpdateUpDir()
type ParticlesSystem ¶
type ParticlesSystem struct { PosX int PosY int Creating bool CurrentSprite *ebiten.Image // contains filtered or unexported fields }
func NewExplosion ¶
func NewExplosion(imgExplosion *ebiten.Image) *ParticlesSystem
func NewSmoke ¶
func NewSmoke(imgSmoke *ebiten.Image) *ParticlesSystem
func (*ParticlesSystem) Draw ¶
func (p *ParticlesSystem) Draw(screen *ebiten.Image)
func (*ParticlesSystem) MoveTo ¶
func (p *ParticlesSystem) MoveTo(PosX, PosY int)
func (*ParticlesSystem) SetImg ¶
func (p *ParticlesSystem) SetImg(img *ebiten.Image)
func (*ParticlesSystem) UpdateExpanded ¶
func (p *ParticlesSystem) UpdateExpanded() error
func (*ParticlesSystem) UpdateUp ¶
func (p *ParticlesSystem) UpdateUp(randomWidth int) error
Click to show internal directories.
Click to hide internal directories.