Skip to content

Commit 1a56981

Browse files
committed
fixed broken declaration of create_replay_input
1 parent 4bf00e6 commit 1a56981

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/tetris_application.hpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ struct TetrisApplication final : public Application {
7070
create_input(Controls controls, Tetrion* associated_tetrion, Input::OnEventCallback on_event_callback);
7171

7272
[[nodiscard]] static std::unique_ptr<Input> create_replay_input(
73+
u8 tetrion_index,
74+
RecordingReader* recording_reader,
75+
Tetrion* associated_tetrion,
76+
Input::OnEventCallback on_event_callback
77+
);
78+
7379
/**
7480
* @brief Creates an input that replays a recorded game.
7581
* @param tetrion_index The index of the tetrion that is targeted by this input.
@@ -81,7 +87,7 @@ struct TetrisApplication final : public Application {
8187
[[nodiscard]] static std::unique_ptr<Input> create_recording_input(
8288
u8 tetrion_index,
8389
RecordingReader* constrecording_reader,
84-
Tetrion *constassociated_tetrion,
90+
Tetrion* constassociated_tetrion,
8591
Input::OnEventCallback on_event_callback
8692
);
8793

0 commit comments

Comments
 (0)