#include #include #include "../Graphique/libgraph.h" #include "../ListeC/Liste.h" #include "Missile.h" void Tirer(struct entite joueur, struct liste_entite **pl) { ajout_tete(pl,creer_entite(joueur.posx+18,joueur.posy-5,0)); } void DeplacementTire(int tire,struct liste_entite *l) { struct liste_entite *ml=l; while(ml != NULL) { ml->enti.posy-=5; afficherLutin(tire,ml->enti.posx,ml->enti.posy); ml=ml->suivant; } }