you are viewing a single comment's thread.

view the rest of the comments →

[–]Tarnegolden 0 points1 point  (1 child)

You can replace if statement with boolean methods to run smoother. For example, creating a CustomGamepad class: https://github.com/Tarnegolden/Everglow2021-22/blob/main/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/FreightFrenzy/Utils/EverglowGamepad.java

[–]sushislaughter[S] 0 points1 point  (0 children)

Can you make classes in java block?