#include "main.h"

#ifndef EVENEMENT_H
#define EVENEMENT_H

int MangerPastille(PIXELS *serpent, PIXELS* pastilles,unsigned long *score,int longueur_serpent);

void DeplacementSerpent(int direction ,PIXELS *serpent, int longueur);

void InitialiserPastilles(PIXELS *pastilles, PIXELS *serpent, int longueur_serpent);

void AfficherTimerEtScore(long unsigned int *score,int minutes,int secondes);

int PastilleSurSerpent(PIXELS pastille, PIXELS *serpent, int longueur_serpent);

void MourrirSerpent(PIXELS *serpent, int longueur_serpent);


#endif