I have 5 objects that created Randomly after a certain time in a SurfaceView,
I draw them on the Draw method like this :
bby.draw(canvas);
hyd.draw(canvas);
hole.draw(canvas);
my problem is that the objects won't draw randomly!
for E.g : if hyd
was created before bby
it won't draw until bby
get creaed and drawn and the same with others.
I think is because the Draw method draw objects in order of the lines like :
1 bby.draw(canvas);
2 hyd.draw(canvas);
3 hole.draw(canvas);
but i don't want that.
How can i fix this? (Hopefully you got my point)