Alright, I get that.. when I'm done adding the stuff, I'll have to call the destructor to delete the new array.
Would this be appropriate?
// TODO: Implement the destructor
// Delete any dynamically allocated objects held by the Valley.
Valley::~Valley()
{
delete [] m_robots ;
delete [] m_sources;
}