Browse Source

Rijden methode public gemaakt

Janco Kock 11 năm trước cách đây
mục cha
commit
bb8577272b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      MotorAansturing.java

+ 2 - 2
MotorAansturing.java

@@ -47,7 +47,7 @@ public class MotorAansturing{
      motorL.update(173, 2304);     // motoren op de rem zetten
     motorR.update(173, 2304);
   }
- private void rijden()
+ public void rijden()
     {
        int motorLWaarde =0;
        int motorRWaarde =0;
@@ -82,4 +82,4 @@ public class MotorAansturing{
      motorR.update(173, 2304);
 }
 
-}
+}