Adds default methods for Commands (#238) (#238)

Closes #235
This commit is contained in:
Krypton Cougars
2016-11-18 17:42:40 -05:00
committed by Peter Johnson
parent b115c75226
commit b78f580d47
24 changed files with 214 additions and 203 deletions

View File

@@ -9,16 +9,9 @@
using namespace frc;
StartCommand::StartCommand(Command* commandToStart) : Command("StartCommand") {
StartCommand::StartCommand(Command* commandToStart)
: InstantCommand("StartCommand") {
m_commandToFork = commandToStart;
}
void StartCommand::Initialize() { m_commandToFork->Start(); }
void StartCommand::Execute() {}
void StartCommand::End() {}
void StartCommand::Interrupted() {}
bool StartCommand::IsFinished() { return true; }