f
This commit is contained in:
parent
9e3770a4e3
commit
5b1ddd9236
@ -5,10 +5,13 @@
|
|||||||
package frc.robot.commands;
|
package frc.robot.commands;
|
||||||
|
|
||||||
import edu.wpi.first.wpilibj2.command.CommandBase;
|
import edu.wpi.first.wpilibj2.command.CommandBase;
|
||||||
|
import frc.robot.subsystems.Poussoir;
|
||||||
public class BoutonY extends CommandBase {
|
public class BoutonY extends CommandBase {
|
||||||
|
private Poussoir poussoir;
|
||||||
/** Creates a new BoutonY. */
|
/** Creates a new BoutonY. */
|
||||||
public BoutonY() {
|
public BoutonY(Poussoir poussoir) {
|
||||||
|
this.poussoir = poussoir;
|
||||||
|
addRequirements(poussoir);
|
||||||
// Use addRequirements() here to declare subsystem dependencies.
|
// Use addRequirements() here to declare subsystem dependencies.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user