mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
committed by
Peter Johnson
parent
b115c75226
commit
b78f580d47
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user