std::srand((unsigned int)time(NULL));
std::random_shuffle(_bullets.begin(), _bullets.end());
为什么每次启动后程序洗牌序列都一样????
种子也有。 没找到原因。
用c++11 random函数; 不用设定随机种子了。