15 lines
231 B
Go
15 lines
231 B
Go
|
//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()
|
||
|
}
|