Skip to content

Commit c1acdfb

Browse files
committed
removed wrong declaration, moved doc comment
1 parent 0624f79 commit c1acdfb

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

src/tetris_application.hpp

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,6 @@ struct TetrisApplication final : public Application {
7070
[[nodiscard]] std::unique_ptr<Input>
7171
create_input(Controls controls, Tetrion* associated_tetrion, Input::OnEventCallback on_event_callback);
7272

73-
[[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-
8073
/**
8174
* @brief Creates an input that replays a recorded game.
8275
* @param tetrion_index The index of the tetrion that is targeted by this input.
@@ -85,10 +78,10 @@ struct TetrisApplication final : public Application {
8578
* @param on_event_callback Callback that is invoked when an input event happens.
8679
* @return The input.
8780
*/
88-
[[nodiscard]] static std::unique_ptr<Input> create_recording_input(
81+
[[nodiscard]] static std::unique_ptr<Input> create_replay_input(
8982
u8 tetrion_index,
90-
RecordingReader* constrecording_reader,
91-
Tetrion* constassociated_tetrion,
83+
RecordingReader* recording_reader,
84+
Tetrion* associated_tetrion,
9285
Input::OnEventCallback on_event_callback
9386
);
9487

0 commit comments

Comments
 (0)