18 lines
423 B
C
18 lines
423 B
C
|
|
#include "serpent.h"
|
||
|
|
#ifndef PASTILLE_H
|
||
|
|
#define PASTILLE_H
|
||
|
|
|
||
|
|
typedef struct
|
||
|
|
{
|
||
|
|
int x;
|
||
|
|
int y;
|
||
|
|
} Pastille;
|
||
|
|
|
||
|
|
void Creation_Pastille(int z, Pastille pomme[], int longueurSerpent, Segment serpent[]);
|
||
|
|
void Afficher_Pastille(int z, Pastille pomme[]);
|
||
|
|
void Validation_Coordonne(int z, Pastille pomme[], int longueurSerpent, Segment serpent[], Pastille* indice_pomme);
|
||
|
|
|
||
|
|
#define NBR_PASTILLE_INITIAL 5
|
||
|
|
|
||
|
|
#endif /* PASTILLE_H */
|