Hello,
Im making a sort of pong game only now i have a problem.
I want the game to randomly add bonus items in the field.
Bonus items which automatically appears in the game and also randomly. If none of the players are able to grab the bonus, i want the bonus item to dissapear automatically after 6 seconds.
I have a ball class, bonus class and 2 player classes
Any help?

