18 lines
417 B
C
18 lines
417 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 longSerpent, Segment serpent[]);
|
||
|
void Afficher_Pastille(int z, Pastille pomme[]);
|
||
|
void Validation_Coordonne(int z, Pastille pomme[], int longSerpent, Segment serpent[], Pastille* nouvelle_pomme);
|
||
|
|
||
|
#define NBR_PASTILLE_INITIAL 5
|
||
|
|
||
|
#endif /* PASTILLE_H */
|