You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extension work has already been done in the base project meaning that the program renders 10000 balls right away. Needs to be set to 0 to just render a single ball for the initialize challenge, or rewritten to have no handling for multiple balls to leave it for students to figure out.
The text was updated successfully, but these errors were encountered:
Whoops. Fixed the ball counts to 1 for the exercise, and 10000 for the solution. As for the loop, you're talking about this one, right?
for (int i = 0; i < BALL_COUNT; i++) {
balls.add(new BouncingBall(viewport));
}
I think this one behaves as you want it to, @xyclos, where BALL_COUNT is indeed the literal number. That look right to you? If not, please reopen. Thanks!
The extension work has already been done in the base project meaning that the program renders 10000 balls right away. Needs to be set to 0 to just render a single ball for the initialize challenge, or rewritten to have no handling for multiple balls to leave it for students to figure out.
The text was updated successfully, but these errors were encountered: