post

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Post

func Post(f PostCallback)

Post a callback which will be executed when other things are done in the main game routine

Post might be called from other goroutine, so we use a lock to protect the data

func Tick

func Tick()

Tick is called by the main game routine to run all posted functions

Types

type PostCallback

type PostCallback func()

PostCallback is the type of functions to be posted

Jump to

Keyboard shortcuts

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