PixelWars/orange.c
2015-01-12 17:37:19 +01:00

23 lines
360 B
C

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