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

@@ -28,15 +28,7 @@ WaitUntilCommand::WaitUntilCommand(const std::string& name, double time)
m_time = time;
}
void WaitUntilCommand::Initialize() {}
void WaitUntilCommand::Execute() {}
/**
* Check if we've reached the actual finish time.
*/
bool WaitUntilCommand::IsFinished() { return Timer::GetMatchTime() >= m_time; }
void WaitUntilCommand::End() {}
void WaitUntilCommand::Interrupted() {}