We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
startGameBySDL
1 parent 4055ae3 commit f55a272Copy full SHA for f55a272
src/sdl/methods.h
@@ -3,7 +3,15 @@
3
4
#include "../../libs/main.h"
5
6
-// TODO: Documentation
+/**
7
+ * @brief Starts a Conway's Game of Life game using the SDL library for display.
8
+ *
9
+ * @param pGame Pointer to a Conway's Game of Life structure.
10
+ * @param maxGeneration Maximum number of generations.
11
+ * @param delayBetweenGenerations Delay in milliseconds between each generation.
12
13
+ * @warning This function assumes that `pGame` has been properly initialized.
14
+ */
15
int startGameBySDL(TGame* pGame, int maxGeneration, int delayBetweenGenerations);
16
17
#endif // SDL_METHODS_H_INCLUDED
0 commit comments