dimanche 23 août 2015

Get random element from attributes in an object

I have an object which got 16 double attributes and I want to pick one of them randomly so I create a method which create a random number between 0-15, but this method is not really what I want I think it's a pretty dirty method if you guys got another cleanest method




Aucun commentaire:

Enregistrer un commentaire