16
General / Re: Projectiles
« on: July 20, 2017, 07:43:13 pm »Quote
Oh its that simple? lol, vectors are very powerful.
Yes, and sometimes tricky. Be careful when iterating through vectors. When you projectile goes out of a certain range (coordinates) and you want to delete it from the vector, the iterator goes out of scope.