32 lines
373 B
C
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
|