Download presentation
Presentation is loading. Please wait.
1
ITK 168 – More Variables 10/13/05
2
Some useful pages Which kind of loop to use:
Becker, Section 5.5.5, pg. 231 Ignore the do-while and while-true loops use a normal while loop in these cases Which kind of variable to use: Becker, Section 6.4.1, pgs. 277 and 278
3
Example of using instance variables
BasketballPlayer Show constant with shoe size
4
Debugging Breakpoints Stepping Watching Example with step-over step-in
step-out Watching Example with
5
Another example of using instance variables and constants
Go through SimpleBot Modify SimpleBot to “teleport”
6
Yet another example of using instance variables – this time with painting
Modify StickFigurePair to change the color of the shirt
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.