17 lines
754 B
C
17 lines
754 B
C
#include "main.h"
|
|
|
|
#ifndef EVENEMENTS_H
|
|
#define EVENEMENTS_H
|
|
|
|
int MangerPastille(PIXELS *serpent, PIXELS* pastilles,PIXELS *obstacle,unsigned long *score,unsigned long longueur_serpent,unsigned long longueur_obstacle,unsigned long int *vitesse);
|
|
|
|
void DeplacementSerpent(int direction ,PIXELS *serpent, unsigned long *longueur);
|
|
|
|
int PastilleSurSerpent(PIXELS pastille, PIXELS *serpent, unsigned long longueur_serpent);
|
|
|
|
int MourrirSerpent(PIXELS *serpent,PIXELS *obstacle,unsigned long longueur_serpent,unsigned long longueur_obstacle);
|
|
|
|
int Serpent(PIXELS *serpent,PIXELS *pastilles,PIXELS *obstacle,unsigned long *score,unsigned long *longueur_serpent,unsigned long longueur_obstacle,unsigned long int *vitesse,int direction);
|
|
|
|
|
|
#endif |