Added geo and gl packages from gogeline and improved documentation.

This commit is contained in:
Marvin Blum
2016-05-03 21:23:50 +02:00
parent 05013370fd
commit 19731dc0e5
15 changed files with 1388 additions and 3 deletions

View File

@@ -67,6 +67,7 @@ func Run(game Game, options *RunOptions) {
for running {
if exitOnClose && wnd.ShouldClose() {
cleanup()
return
}
@@ -87,3 +88,9 @@ func Run(game Game, options *RunOptions) {
func Stop() {
running = false
}
func cleanup() {
for _, system := range systems {
system.Cleanup()
}
}