Skip to content

Commit 0624f79

Browse files
committed
fixed broken declaration of create_replay_input
1 parent 8abb80f commit 0624f79

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
@@ -71,6 +71,12 @@ struct TetrisApplication final : public Application {
7171
create_input(Controls controls, Tetrion* associated_tetrion, Input::OnEventCallback on_event_callback);
7272

7373
[[nodiscard]] static std::unique_ptr<Input> create_replay_input(
74+
u8 tetrion_index,
75+
RecordingReader* recording_reader,
76+
Tetrion* associated_tetrion,
77+
Input::OnEventCallback on_event_callback
78+
);
79+
7480
/**
7581
* @brief Creates an input that replays a recorded game.
7682
* @param tetrion_index The index of the tetrion that is targeted by this input.
@@ -82,7 +88,7 @@ struct TetrisApplication final : public Application {
8288
[[nodiscard]] static std::unique_ptr<Input> create_recording_input(
8389
u8 tetrion_index,
8490
RecordingReader* constrecording_reader,
85-
Tetrion *constassociated_tetrion,
91+
Tetrion* constassociated_tetrion,
8692
Input::OnEventCallback on_event_callback
8793
);
8894

0 commit comments

Comments
 (0)