config

package
v0.0.0-...-ecfa503 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultDependencies

func NewDefaultDependencies() (*dependencies.DependencyManager, error)

Types

type EbitenConfig

type EbitenConfig struct {
	WindowWidth        int
	WindowHeight       int
	WindowTitle        string
	WindowResizingMode ebiten.WindowResizingModeType
	UI                 *ebitenui.UI
}

EbitenConfig holds all the configuration for the Ebiten game window.

func GetEbitenConfig

func GetEbitenConfig() *EbitenConfig

GetEbitenConfig initializes the default Ebiten configuration.

func (*EbitenConfig) Apply

func (c *EbitenConfig) Apply()

Apply applies the Ebiten configuration to the game engine.

Jump to

Keyboard shortcuts

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