001package com.stuypulse.robot.commands.shooter;
002
003import com.stuypulse.robot.subsystems.shooter.Shooter;
004
005import edu.wpi.first.wpilibj2.command.InstantCommand;
006
007public class ShooterAddToBonusVelocity extends InstantCommand{
008    private final Shooter shooter;
009    private final double velocity;
010
011    public ShooterAddToBonusVelocity(double velocity) {
012        shooter = Shooter.getInstance();
013        this.velocity = velocity;
014
015        addRequirements(shooter);
016    }
017
018    @Override
019    public void initialize() {
020        shooter.addToBonusVelocity(velocity);
021    }
022}