Skip to content

Commit

Permalink
Fix getting angle & rotation in sample project
Browse files Browse the repository at this point in the history
  • Loading branch information
dominx99 committed Nov 29, 2023
1 parent 5d9a4df commit 79d80df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ const anim = (direction: Direction, angle: number, rotation: number): any[][] =>
framesHeight: 1,
textures: {
[Animation.Walk]: {
animations: (direction, params) => anim(direction, params),
animations: (direction, angle, rotation) => anim(direction, angle, rotation),
},
[Animation.Stand]: {
animations: (direction, params) => anim(direction, params),
animations: (direction, angle, rotation) => anim(direction, angle, rotation),
},
},
})
Expand Down

0 comments on commit 79d80df

Please sign in to comment.