package
Version:
v0.0.0-...-668c111
Opens a new window with list of versions in this module.
Published: Oct 28, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Ball the 2d moving object
NewBall creates a new ball instance
Bounce bounce on the colliders
Draw draws the screen
IsDrawingSkipped needs to before this draw
Move moves the ball by units
Pedal ..
Draw draws the screen
IsDrawingSkipped needs to before this draw
Move moves the pedal by units
Pos returns the position perimeter idk whats called
func (pedal *Pedal) Scores()
Scores use this if pedal scored a point
type Poser interface {
Pos() (x, y, w, h int)
}
Poser struct must give us their location
Source Files
¶
Click to show internal directories.
Click to hide internal directories.