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 ShooterSetGainSlot extends InstantCommand{
008    private final Shooter shooter;
009    private final int slot;
010
011    public ShooterSetGainSlot(int slot) {
012        this.shooter = Shooter.getInstance();
013        this.slot = slot;
014    }
015
016    @Override
017    public void initialize() {
018        shooter.setGainSlot(slot);
019    }
020}