PixelWars/orange.c
2015-01-17 01:14:56 +01:00

19 lines
326 B
C

#include "team.h"
#include "stdlib.h"
// Hello World
typedef struct{
int plop; // custom info
} t_data;
t_action orange_update(void* my_info, t_com* communication_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;
}