class CtrlEnemy{
public:
typedef struct{
int mode; // 歩 or 飛
int status; // 表示 or 非表示 or 死
int act; // 近接 or 遠距離 or 停止
}Enemy;

Enemy x[100];

int EnemyNum; // 敵の番号
int EnemyGraph[2][2]; // 敵のグラフィックハンドル
int IconGraph[5]; // アイコンのグラフィックハンドル

int Font;
unsigned int Color[4]; // 色

double PlayerPosi; // プレイヤーの位置情報(x座標)

int AnimeFlag; // アニメーション制御用
int AnimeCount; // アニメーション制御用

char receive_buf[1024]; // ソケット通信用(受信)
char send_buf[1024]; // ソケット通信用(送信)

void LoadPic(int teki[2][2], int icon[4]); // グラフィックハンドル割り当て
int Click(void); // クリックによる行動の変化
int Wheel(int num); // マウスホイールによる操作対象の変化
int Keyboard(void); // キーボードによる行動/操作対象の変化

void DrawEnemy(int teki[2][2], Enemy *x, int num, int a_flag); // 敵の描画(アニメーション含)
void DrawIcon(int icon[4], double p_posi); // アイコンの描画
void DrawStyle(Enemy *x, int num, double p_posi, unsigned int *color); // 枠組み・文字の描画
void Hatching(Enemy *x); // 網掛けの描画

void GetInfo(char *receive); // プレイヤー側プログラムから受信
void SendInfo(char *send); // プレイヤー側プログラムへ送信

CtrlEnemy(); // コンストラクタ(?)
};