bool Robot::Move(int nTurnAmount, int nSpeed)
{
    bool bResult = m_simulation.MoveRobot(nTurnAmount, nSpeed);
    ClearTrails();
    m_simulation.RunRangeFinders();
    return bResult;
}
//---------------------------------------------------------------------------
// Description: Set inicial condition to all agents in the population and to
//              the environment
void Civilization::Restart()
{
 DeliveryTime->Clear();

 for(int j=0; j<Ants->Count; j++)
 {
  // Set the Origin of the all ants in the Nest
  ((Ant*)Ants->Items[j])->TargetCity = Nest;
  ((Ant*)Ants->Items[j])->RememberCity();
  ((Ant*)Ants->Items[j])->SetDistance(0);
 }

 ClearTrails();
}
void Robot::SetRobotAndGoal()
{
    ClearTrails();
    m_simulation.PlaceRobotAndGoal();
}