#include "team.h" #include "stdlib.h" // Hello World typedef struct{ int plop; // custom info } t_data; t_action orange_update(void* my_info, void* com_data, int success){ t_data* data = (t_data*)my_info; t_action action; action.type = MOVE; action.dir = rand()%4; action.data = NULL; return action; }