19 lines
773 B
C
Raw Normal View History

#include "main.h"
#ifndef EVENEMENT_H
#define EVENEMENT_H
2023-12-22 19:40:06 +01:00
int MangerPastille(PIXELS *serpent, PIXELS* pastilles,PIXELS *obstacle,unsigned long *score,int longueur_serpent,unsigned long longueur_obstacle,unsigned long int *vitesse);
2023-12-12 13:57:52 +01:00
void DeplacementSerpent(int direction ,PIXELS *serpent, int longueur);
void AfficherTimerEtScore(long unsigned int *score,int minutes,int secondes);
2023-12-12 13:57:52 +01:00
int PastilleSurSerpent(PIXELS pastille, PIXELS *serpent, int longueur_serpent);
2023-12-22 19:40:06 +01:00
int MourrirSerpent(PIXELS *serpent,PIXELS *obstacle, int longueur_serpent,int longueur_obstacle);
2023-12-22 19:40:06 +01:00
int Serpent(PIXELS *serpent,PIXELS *pastilles,PIXELS *obstacle,unsigned long *score,unsigned long *longueur_serpent,int longueur_obstacle,unsigned long int *vitesse,int direction);
2023-12-19 17:23:38 +01:00
#endif