src/State.cpp
/*
 * Method to dynamically set a transition
 */
Method to dynamically set a transition
Method to dynamically set a transition
int State::setTransition(int index, int stateNo){
	if(transitions->size() == 0) return -1;
	transitions->get(index)->stateNumber = stateNo;
	return stateNo;
}
int State :: setTransition ( int index , int stateNo ) { if ( transitions -> size ( ) == 0 ) return -1 ; transitions -> get ( index ) -> stateNumber = stateNo ; return stateNo ; }
Method to dynamically set a transition
Method to dynamically set a transition