particle

package
v0.0.0-...-83b3ea5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draw

func Draw(screen *ebiten.Image, TabParticle [10]*Particle, posX, posY float64)

func Init

func Init(TabParticle [10]*Particle)

func Update

func Update(TabParticle [10]*Particle, sens bool)

Types

type Particle

type Particle struct {
	Color       color.Color
	Radius      float32
	Orientation float64
	// contains filtered or unexported fields
}

func New

func New(color int) (result [10]*Particle)

func New_Particules

func New_Particules(r, g, b uint8, distance float64) Particle

func (Particle) DrawShadow

func (p Particle) DrawShadow(screen *ebiten.Image, posX, posY int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL