ball

package
v0.0.0-...-7fee067 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ball

type Ball struct {
	component.UUID
	component.Velocity

	geom.Circle
	// contains filtered or unexported fields
}

func New

func New(game tortuga.Console, collidables []*Ball) *Ball

func (Ball) Render

func (b Ball) Render()

func (*Ball) Update

func (b *Ball) Update()

Jump to

Keyboard shortcuts

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