GEP-Assignment1/FSM.cpp
void State::ChangeText(TextStruct text, int index) {
	delete m_vAllText[index];
	m_vAllText[index] = nullptr;
	m_vAllText[index] = new TextStruct(text);
	textChanged[index] = true;
}
/* Changes a customized text in vectore m_vAllText at an index*/
Changes a customized text in vectore m_vAllText at an index
Changes a customized text in vectore m_vAllText at an index
void State::ChangeText(TextStruct text, int index) {
	delete m_vAllText[index];
	m_vAllText[index] = nullptr;
	m_vAllText[index] = new TextStruct(text);
	textChanged[index] = true;
}
void State :: ChangeText ( TextStruct text , int index ) { delete m_vAllText [ index ] ; m_vAllText [ index ] = nullptr ; m_vAllText [ index ] = new TextStruct ( text ) ; textChanged [ index ] = true ; }
Changes a customized text in vectore m_vAllText at an index
Changes a customized text in vectore m_vAllText at an index