struct gameChar { Vec2 pos; //位置 bool isAlive; //生死 Texture tex; //画像 double speed; //動作速度 RectF rect; //バウンディングボックス Vec2 moveDir; //方向ベクトル };