This commit is contained in:
IlyaShurupov 2024-02-07 19:20:29 +03:00 committed by Ilusha
parent 81a2247bf2
commit 4f88c45c9e
8 changed files with 120 additions and 117 deletions

View file

@ -92,7 +92,7 @@ namespace tp {
void addAnyTransition(State* from, State* to) { from->mTransitions.append(Transition(Transition::ANY, to)); }
void setStartVertex(State* start) { mStartState = start; }
void setStartState(State* start) { mStartState = start; }
[[nodiscard]] State* getStartState() const { return mStartState; }