...
This commit is contained in:
parent
27b803e4e5
commit
a3642a9b33
1 changed files with 3 additions and 3 deletions
|
@ -3,8 +3,8 @@ package gg
|
||||||
import (
|
import (
|
||||||
"github.com/hajimehoshi/ebiten/v2"
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
"github.com/hajimehoshi/ebiten/v2/inpututil"
|
"github.com/hajimehoshi/ebiten/v2/inpututil"
|
||||||
"github.com/mojosa-software/godat/sparsex"
|
"github.com/reklesio/gods/maps"
|
||||||
"github.com/mojosa-software/godat/mapx"
|
"github.com/reklesio/gods"
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
@ -32,7 +32,7 @@ type WindowConfig struct {
|
||||||
// The main structure that represents current state of [game] engine.
|
// The main structure that represents current state of [game] engine.
|
||||||
type Engine struct {
|
type Engine struct {
|
||||||
wcfg *WindowConfig
|
wcfg *WindowConfig
|
||||||
objects *mapx.OrderedMap[Object, struct{}]
|
objects maps.Ordered[Object, struct{}]
|
||||||
lastTime time.Time
|
lastTime time.Time
|
||||||
dt Float
|
dt Float
|
||||||
camera *Camera
|
camera *Camera
|
||||||
|
|
Loading…
Reference in a new issue