Amelioration code + commentaires. Rectifications erreurs etc.
This commit is contained in:
17
evenements.h
Normal file
17
evenements.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user