i had a long day at work and my brain is scrambled so i might need an explanation for this.
would just putting Rectangle randomBallRectangle = balls.get(i).getBallBounds()); in the update game method work? and would i first have to create the rectangle randomBallRectangle in the main game class? or can i do that all at once in the update game method?
just tried and it doesnt work. so im guessing id need a for loop
Show differencesHistory of post edits
#1burnt_casadilla
Posted 14 August 2012 - 05:19 PM
i had a long day at work and my brain is scrambled so i might need an explanation for this.
would just putting Rectangle randomBallRectangle = balls.get(i).getBallBounds()); in the update game method work? and would i first have to create the rectangle randomBallRectangle in the main game class? or can i do that all at once in the update game method?
would just putting Rectangle randomBallRectangle = balls.get(i).getBallBounds()); in the update game method work? and would i first have to create the rectangle randomBallRectangle in the main game class? or can i do that all at once in the update game method?