#ifndef P_TOOLS_H #define P_TOOLS_H #include "../team.h" typedef struct{ t_coord pos; int new_born; int try; int brings_food; int last_dir; int last_action; } purple_data; t_coord newPos(t_coord coord, int dir); int abs(int val); int dist(t_coord coord, int x, int y); int check_critic_situation(); #endif // P_TOOLS_H