mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
18 lines
338 B
C++
18 lines
338 B
C++
#include "Eject.h"
|
|
#include "../DentRobot.h"
|
|
Eject::Eject() : Command("Eject"){
|
|
Requires(DentRobot::collector);
|
|
}
|
|
void Eject::Initialize(){
|
|
}
|
|
void Eject::Execute(){
|
|
DentRobot::collector->Set(DentRobot::oi->GetLeftStick()->GetThrottle());
|
|
}
|
|
bool Eject::IsFinished(){
|
|
return false;
|
|
}
|
|
void Eject::End(){
|
|
}
|
|
void Eject::Interrupted(){
|
|
}
|