From 183b373867352a107b7daa8c944c476dcba49eda Mon Sep 17 00:00:00 2001 From: Josh Deprez Date: Sat, 31 Jul 2021 19:25:15 +1000 Subject: [PATCH] no json --- engine/anim.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/anim.go b/engine/anim.go index ead2cf9..41642b1 100644 --- a/engine/anim.go +++ b/engine/anim.go @@ -29,12 +29,12 @@ func (a *Anim) Update() error { // AnimDef describes an animation (sequence of frames and timings). type AnimDef struct { - Frames []AnimFrame `json:"frames"` - OneShot bool `json:"oneshot"` + Frames []AnimFrame + OneShot bool } // AnimFrame describes a frame in an animation. type AnimFrame struct { - Frame int `json:"frame"` // show this frame - Duration int `json:"duration"` // for this long, in ticks + Frame int // show this frame + Duration int // for this long, in ticks }