diff options
Diffstat (limited to 'include/body.h')
-rw-r--r-- | include/body.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/body.h b/include/body.h index a1957bc..29241bf 100644 --- a/include/body.h +++ b/include/body.h @@ -8,7 +8,7 @@ typedef struct snake SNAKE; SNAKE *makeSnake(int startx, int starty, int len); void deleteSnake(SNAKE *sp); -void updateSnake(SNAKE *sp, int dir, int maxx, int maxy, bool *collision); +void updateSnake(SNAKE *sp, int dir, int maxx, int maxy, bool *collision, int *fruit_loc, bool *fruit, int *score); bool checkSnake(SNAKE *sp, int maxx, int maxy); int getSnakeTailx(SNAKE *sp); |