mirror of
https://github.com/Team4388/2019-Hit-or-Miss.git
synced 2026-06-09 00:28:05 -06:00
Rename Symbols pt2
This commit is contained in:
@@ -6,16 +6,16 @@ import edu.wpi.first.wpilibj.command.Command;
|
||||
|
||||
public class DeployBallIntake extends Command
|
||||
{
|
||||
public boolean IsUp;
|
||||
public boolean deployed;
|
||||
|
||||
public DeployBallIntake(boolean IsUp) {
|
||||
this.IsUp=IsUp;
|
||||
public DeployBallIntake(boolean deployed) {
|
||||
this.deployed = deployed;
|
||||
requires(Robot.pnumatics);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void initialize() {
|
||||
Robot.pnumatics.setBallIntake(IsUp);
|
||||
Robot.pnumatics.setBallIntake(deployed);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user