FastmoveCommand::FastmoveCommand(FastmoveCommand& obj) :
  CommandComposite(obj)
{
  
}

//------------------------------------------------------------------------------
FastmoveCommand* FastmoveCommand::clone()
{
  return new FastmoveCommand(*this);
}

//------------------------------------------------------------------------------
void FastmoveCommand::execute()
{
  try
  {
    CommandComposite::execute();
  }
  catch (NoMoreStepsException &e)
  {
    throw InvalidMoveException();
  }
}