Fix generation pastilles sur le serpent
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
#ifndef EVENEMENT_H
|
||||
#define EVENEMENT_H
|
||||
|
||||
int MangerPastille(PIXELS *serpent, PIXELS* pastilles,unsigned long *score);
|
||||
int MangerPastille(PIXELS *serpent, PIXELS* pastilles,unsigned long *score,int longueur_serpent);
|
||||
|
||||
void DeplacementSerpent(int direction ,PIXELS *serpent, int longueur);
|
||||
|
||||
void InitialiserPastilles(PIXELS *pastilles);
|
||||
void InitialiserPastilles(PIXELS *pastilles, PIXELS *serpent, int longueur_serpent);
|
||||
|
||||
void AfficherTimerEtScore(int m,int n,unsigned long *score);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user