2023-12-03 14:16:38 +01:00
|
|
|
#include "main.h"
|
2023-12-02 10:05:42 +01:00
|
|
|
|
2023-12-03 14:16:38 +01:00
|
|
|
#ifndef EVENEMENT_H
|
|
|
|
#define EVENEMENT_H
|
|
|
|
|
2023-12-08 20:21:16 +01:00
|
|
|
void MangerPastille(int *serpent, PIXELS* pastilles, size_t longueur_serpent, size_t longueur_pastilles);
|
2023-12-03 14:16:38 +01:00
|
|
|
|
|
|
|
void DeplacementSerpent(int direction ,int *serpent, int longueur);
|
2023-12-02 10:05:42 +01:00
|
|
|
|
2023-12-03 14:16:38 +01:00
|
|
|
void InitialiserPastilles(PIXELS *pastilles);
|
|
|
|
|
|
|
|
void AfficherTimerEtScore(int m,int n,int score);
|
2023-12-02 10:05:42 +01:00
|
|
|
|
2023-12-03 14:16:38 +01:00
|
|
|
#endif
|