m_objs.push_back(temp);
m_objs[m_objs.size()-1]->LoadAnimations(txtname);
}
in.close();
}
//--------------------------------------------------
//For example my filename is "level1.txt"
// How does the txtname's value become to "level1.txt"?
// if in>>txtname gives txtname the value "level1.txt"? if it is. Why don't
// just directly use filename,but create a new string txtname?
//--------------------------------------------------------
// oh right, I am sorry guys. I made a mistake. the txtname did not become "level1.text".
// It became to "link_sheet.txt" which is the first ward in level1.text. now i am
// understand think you guys for help.
// @Peter87
//
//