Оновити 'cv9/snake.c'
This commit is contained in:
parent
195a252054
commit
62a409e3c3
@ -9,7 +9,6 @@ struct snake* add_snake(struct snake* snake,int x,int y){
|
|||||||
head->x = x;
|
head->x = x;
|
||||||
head->y = y;
|
head->y = y;
|
||||||
head->next = snake;
|
head->next = snake;
|
||||||
return snake;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct snake* remove_snake(struct snake* snake){
|
struct snake* remove_snake(struct snake* snake){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user