diff --git a/src/main/c/labyrinth.c b/src/main/c/labyrinth.c index 997f1b7..81b9ed4 100644 --- a/src/main/c/labyrinth.c +++ b/src/main/c/labyrinth.c @@ -21,7 +21,7 @@ unsigned short get_natural_number(char text[]){ return result; } -void dimesions(unsigned short *len_x, unsigned short *len_y){ +void ask_lab_dimensions(unsigned short *len_x, unsigned short *len_y){ *len_x = get_natural_number("Bitte gib die x-Laenge des Labyrinthes an:\n"); *len_y = get_natural_number("Bitte gib die y-Laenge des Labyrinthes an:\n"); } diff --git a/src/main/c/labyrinth.h b/src/main/c/labyrinth.h index 4494394..d9cb80c 100644 --- a/src/main/c/labyrinth.h +++ b/src/main/c/labyrinth.h @@ -10,6 +10,6 @@ void init_field(Field_State** field, unsigned short len_x, unsigned short len_y) short lab_can_move(Field_State** field, unsigned short x, unsigned short y, Direction direction, unsigned short len_x, unsigned short len_y); void show_solution(Field_State** field, unsigned short len_x, unsigned short len_y); unsigned short get_natural_number(char text[]); -void dimesions(unsigned short *len_x, unsigned short *len_y); +void ask_lab_dimensions(unsigned short *len_x, unsigned short *len_y); #endif // TEST_H