1
General / Re: AW: Re: Collsion with multiple bullets and multiple enemies
« on: September 13, 2014, 10:59:10 pm »You might want to refresh your knowledge of C++ functions, especially what the keyword "return" does.
Yea thank you for that tip! Read up some about functions and so on, and yea.. When return is called the whole function is stopped. But haven't really found out much else on how to solve my problem. But I hope you can answer one more question from me!
From your experience, is it possible to use three classes, a bullet, invader and collision class, in which the bullet and the invader class use vectors to create and delete bullets and invaders. And make collision between them happen? If it is possible I will keep trying till I succeed!
(hope you understood my very messed up question)