#ifndef SERPENT_H #define SERPENT_H typedef struct { int x, y; } Segment; void initialiserSerpent(Segment serpent[], int *longueur); int gestionDeplacements(Segment serpent[], int *direction_x, int *direction_y); int tuerSerpent(Segment serpent[], int longueur); void mettreAJourSerpent(Segment serpent[], int *longueur, int *direction_x, int *direction_y); void dessinerSerpent(Segment serpent[], int *longueur); void attendreSerpent(unsigned long int microseconds); #endif /*SERPENT_H*/