boxbrawl/flags_web.go

16 lines
221 B
Go
Raw Permalink Normal View History

//go:build js && wasm
// +build js,wasm
package main
import (
"code.rocketnine.space/tslocum/boxbrawl/world"
"github.com/hajimehoshi/ebiten/v2"
)
func parseFlags() {
world.WASM = true
ebiten.SetFullscreen(true)
}