test level flag
This commit is contained in:
parent
263e197f32
commit
0e796fef2c
1 changed files with 6 additions and 1 deletions
7
main.go
7
main.go
|
@ -1,6 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"image"
|
||||
"image/color"
|
||||
_ "image/png"
|
||||
|
@ -13,12 +14,16 @@ import (
|
|||
"github.com/hajimehoshi/ebiten/v2"
|
||||
)
|
||||
|
||||
var rewriteLevel1 = flag.Bool("rewrite_level_1", false, "Rewrites level1.gobz from an inbuilt struct literal")
|
||||
|
||||
func main() {
|
||||
flag.Parse()
|
||||
|
||||
ebiten.SetWindowResizable(true)
|
||||
ebiten.SetWindowSize(640, 480)
|
||||
ebiten.SetWindowTitle("TODO")
|
||||
|
||||
if false {
|
||||
if *rewriteLevel1 {
|
||||
writeLevel1()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue