2023-12-01 13:32:18 +01:00
|
|
|
#ifndef SERPENT_H
|
|
|
|
#define SERPENT_H
|
2023-12-18 14:59:07 +01:00
|
|
|
|
2023-12-19 17:27:47 +01:00
|
|
|
void Serpent(int pos_x[], int pos_y[], int old_x[], int old_y[], int *segment, int murx[], int mury[], int *go_on, int *direction);
|
|
|
|
void Collision_Serpent(int pos_x[], int pos_y[], int segment, int murx[], int mury[], int *go_on);
|
2023-12-20 21:26:34 +01:00
|
|
|
void Update_Serpent(int pos_x[], int pos_y[], int segment, int old_x[], int old_y[], int*);
|
2023-12-21 12:29:12 +01:00
|
|
|
void Controle(int *direction, int last_direction, int *go_on, int *pause);
|
2023-12-21 14:55:45 +01:00
|
|
|
void dessinerSerpent(int pos_x[], int pos_y[], int segment, int old_x[], int old_y[]);
|
2023-12-18 14:59:07 +01:00
|
|
|
#endif
|