We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb20374 commit 0b5beb0Copy full SHA for 0b5beb0
chapter_08/02_two_car_objects.rb
@@ -18,14 +18,14 @@ def setup
18
end
19
20
def draw
21
- background 255
+ background 255
22
23
- # Operate the car object in draw
24
- # by calling object methods using the dots syntax.
25
- @red_car.move(@red_car_speed)
26
- @red_car.display_car
27
- @blue_car.move(@blue_car_speed)
28
- @blue_car.display_car
+ # Operate the car object in draw
+ # by calling object methods using the dots syntax.
+ @red_car.move(@red_car_speed)
+ @red_car.display_car
+ @blue_car.move(@blue_car_speed)
+ @blue_car.display_car
29
30
31
0 commit comments