Skip to content

Commit

Permalink
Update tile_test.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-johansson committed Nov 30, 2023
1 parent 9309682 commit 82974be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/test/tileset/tile_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ TEST(Tile, SetAnimation)
Tile tile {region};

TileAnimation animation;
animation.append_frame({.tile_index = 10, .duration = Milliseconds {123}});
animation.append_frame({.tile_index = 20, .duration = Milliseconds {456}});
animation.append_frame(TileAnimationFrame {TileIndex {10}, Milliseconds {123}});
animation.append_frame(TileAnimationFrame {TileIndex {20}, Milliseconds {456}});

tile.set_animation(animation);
ASSERT_TRUE(tile.is_animated());
Expand Down

0 comments on commit 82974be

Please sign in to comment.