24 lines
614 B
C
24 lines
614 B
C
#include <SDL2/SDL.h>
|
|
#include "arenaEngine.h"
|
|
#include "IAEngine.h"
|
|
|
|
#ifndef PLAYERINTERFACE_H_
|
|
#define PLAYERINTERFACE_H_
|
|
|
|
//Prototypes
|
|
|
|
PLAYER* createPlayer(int Id);
|
|
PLAYER* insertRightPlaceRecursive(PLAYER* Head, PLAYER* Element);
|
|
void displayList(PLAYER * Head);
|
|
PLAYER * freeElement(PLAYER *Head, int Id);
|
|
PLAYER * freeList(PLAYER *Head);
|
|
|
|
PLAYER * SearchPlayer(PLAYER *Head, int idPlayer);
|
|
void AttackPlayer( PLAYER *player1, PLAYER *player2);
|
|
void ActionPlayer(PLAYER * player, int action);
|
|
|
|
int NumberPlayerAlive(PLAYER *Head);
|
|
int getEvent(void);
|
|
|
|
#endif /* PLAYERINTERFACE_H_ */
|