2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00
dent/Commands/Eject.cpp

18 lines
338 B
C++
Raw Normal View History

2015-01-16 19:29:55 -05:00
#include "Eject.h"
2015-01-17 12:21:16 -05:00
#include "../DentRobot.h"
2015-01-17 12:55:51 -05:00
Eject::Eject() : Command("Eject"){
Requires(DentRobot::collector);
2015-01-16 19:29:55 -05:00
}
void Eject::Initialize(){
}
void Eject::Execute(){
2015-01-17 12:55:51 -05:00
DentRobot::collector->Set(DentRobot::oi->GetLeftStick()->GetThrottle());
2015-01-16 19:29:55 -05:00
}
bool Eject::IsFinished(){
2015-01-16 20:12:48 -05:00
return false;
2015-01-16 19:29:55 -05:00
}
void Eject::End(){
}
void Eject::Interrupted(){
}