mercredi 7 octobre 2015

Java: Retrieve random, non-repeating Elements from array One-by-One

I have an Array containing a set of Points and a Timer.

I want to get a random Point from the Array with each Action Event fired from the Timer. The catch here is that I need a different one with every Iteration, that means I don't wanna get the same Point twice.

Any Suggestions?




Aucun commentaire:

Enregistrer un commentaire