Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Playfield ¶
type Playfield struct {
// contains filtered or unexported fields
}
func NewPlayfield ¶
NewPlayfield creates a new Playfield with the specified width, height, and assets.
Parameters: - width: the width of the Playfield in pixels. - height: the height of the Playfield in pixels. - assets: a pointer to the Assets struct containing the necessary assets for the Playfield.
Returns: - a pointer to the newly created Playfield.
Click to show internal directories.
Click to hide internal directories.