struct projectile { SDL_Surface* surface; int x; int y; };. And I put that into a vector. vector<projectile> shot; ...
確定! 回上一頁