loop

package
v0.0.0-...-251eadb Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2016 License: MIT Imports: 3 Imported by: 6

Documentation

Overview

Package loop provides game loop implementations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loop

type Loop interface {

	// Run runs the loop in the foreground
	Run()
}

Loop represents a gameloop

func Simple

func Simple(wm *gamekit.WindowManager, ctx context.Context, fn func()) Loop

Simple builds a simple loop, with no timing management

Jump to

Keyboard shortcuts

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