place blocks

This commit is contained in:
2022-02-24 20:20:33 +08:00
parent 9195dd7c3f
commit 32b06810e2
17 changed files with 309 additions and 55 deletions

View File

@@ -1,6 +1,8 @@
package game
import (
"time"
"edgaru089.ml/go/gl01/internal/entity"
"edgaru089.ml/go/gl01/internal/render"
"edgaru089.ml/go/gl01/internal/util/itype"
@@ -28,6 +30,8 @@ type Game struct {
fullscreen bool
lastPos, lastSize itype.Vec2i // Window size before entering fullscreen
runtime time.Duration
io imgui.IO
gui guiState
paused bool