config

package
v0.0.0-...-c744f44 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ScreenWidth     int32
	ScreenHeight    int32
	BottomBarHeight int32
	FramesPerSecond int
}

Config represents the window configuration for the application

func New

func New(screenWidth, screenHeight, bottomBarHeight int32, fps int) *Config

New is an optional constructor for Config, mainly for a friendlier API.

Jump to

Keyboard shortcuts

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