Skip to content

Commit 97831c9

Browse files
committed
removed wrong declaration, moved doc comment
1 parent 1a56981 commit 97831c9

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
@@ -69,13 +69,6 @@ struct TetrisApplication final : public Application {
6969
[[nodiscard]] std::unique_ptr<Input>
7070
create_input(Controls controls, Tetrion* associated_tetrion, Input::OnEventCallback on_event_callback);
7171

72-
[[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-
7972
/**
8073
* @brief Creates an input that replays a recorded game.
8174
* @param tetrion_index The index of the tetrion that is targeted by this input.
@@ -84,10 +77,10 @@ struct TetrisApplication final : public Application {
8477
* @param on_event_callback Callback that is invoked when an input event happens.
8578
* @return The input.
8679
*/
87-
[[nodiscard]] static std::unique_ptr<Input> create_recording_input(
80+
[[nodiscard]] static std::unique_ptr<Input> create_replay_input(
8881
u8 tetrion_index,
89-
RecordingReader* constrecording_reader,
90-
Tetrion* constassociated_tetrion,
82+
RecordingReader* recording_reader,
83+
Tetrion* associated_tetrion,
9184
Input::OnEventCallback on_event_callback
9285
);
9386

0 commit comments

Comments
 (0)