ゲームのアニメーションってさ
class character
{
public:
void update() { 〜; current_img = ・・・; }
void draw(); { Lib::Draw(x, y, imgs[current_img]); }
private:
image imgs[size];
int current_img;
};
みたいにやってるの?それとも
send_command(handle, wait());
send_command(handle, move(x, y));
send_command(handle, attack(left));
みたいに命令だけ送信したほうがいいのかな?