2015-01-22 17:47:43 +01:00

32 lines
373 B
C

#ifndef P_JOB_H
#define P_JOB_H
#include "../team.h"
enum{ // jobs
P_JOBLESS,
P_KING,
P_WORKER,
P_EXPLORER
};
typedef struct{
char identity;
char job;
char request_type;
char area_x;
char area_y;
char work_type;
char amount;
} p_request;
t_action p_jobless_ia();
t_action p_king_ia();
t_action p_explorer_ia();
t_action p_worker_ia();
#endif // P_JOB_H