models

package
v0.0.0-...-15f28d5 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Note

type Note struct {
	// The time in milliseconds when the note should be played.
	Time int
	// The key that should be pressed to play the note.
	Key string
	// The X location of the note on the screen.
	X int
	// The Y location of the note on the screen.
	Y int
	//Style
	Style tcell.Style
}

type Song

type Song struct {
	// The notes that should be played.
	Notes []*Note
}

Jump to

Keyboard shortcuts

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