engine

package
v0.0.0-...-0583f8e Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultMaxTPS = 25

Variables

This section is empty.

Functions

func Close

func Close()

func FPS

func FPS() int

FPS returns the number of frames per second.

func GetMaxTPS

func GetMaxTPS() int

GetMaxTPS returns the maximum number of ticks per second.

A value of 0 means unlimited.

func Run

func Run()

func SetMaxTPS

func SetMaxTPS(tps int)

SetMaxTPS sets the maximum number of ticks per second.

A negative value or a value of 0 means unlimited.

func TPS

func TPS() int

TPS returns the number of ticks per second.

Types

This section is empty.

Jump to

Keyboard shortcuts

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