wit-debian-gui/flags.go

15 lines
231 B
Go
Raw Permalink Normal View History

//go:build !js || !wasm
// +build !js !wasm
package main
import (
"flag"
)
func parseFlags(g *game) {
flag.IntVar(&g.w, "width", 100, "Enable width mode")
flag.IntVar(&g.h, "noclip", 50, "Enable noclip mode")
flag.Parse()
}