call it AnimDefs
This commit is contained in:
parent
d8ecea05e5
commit
8e5c82db29
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -19,7 +19,7 @@ func main() {
|
||||||
ebiten.SetWindowTitle("TODO")
|
ebiten.SetWindowTitle("TODO")
|
||||||
|
|
||||||
engine.AssetFS = assets
|
engine.AssetFS = assets
|
||||||
engine.AnimDefCache = map[string]*engine.AnimDef{
|
engine.AnimDefs = map[string]*engine.AnimDef{
|
||||||
"green_tiles": {
|
"green_tiles": {
|
||||||
Frames: []engine.AnimFrame{
|
Frames: []engine.AnimFrame{
|
||||||
{Frame: 0, Duration: 16},
|
{Frame: 0, Duration: 16},
|
||||||
|
|
Loading…
Reference in a new issue