globals

package
v0.0.0-...-54c8723 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Global = &GlobalVars{
	WindowHeight:      480,
	WindowWidth:       640,
	Vsync:             true,
	Undecorated:       false,
	ClearColor:        utilz.HexToColor("#12161A"),
	Win:               &pixelgl.Window{},
	CollisionLayer:    "collision",
	CollisionLayerPos: 3,
}

Functions

This section is empty.

Types

type GlobalVars

type GlobalVars struct {
	PrimaryMonitor    *pixelgl.Monitor
	WindowHeight      float64
	WindowWidth       float64
	Vsync             bool
	Undecorated       bool
	ClearColor        color.Color
	Win               *pixelgl.Window
	DeltaTime         float64
	CollisionLayer    string
	CollisionLayerPos int
}

Jump to

Keyboard shortcuts

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