Jump to content

Grouping ModelEntity States


Recommended Posts

Unfortunately not.

You can adopt a naming convention and meaningful names that make them easier to understand, like:

int_FinishedPartsCounter

real_ElapsedTime

bool_CompletedPhase1


If you have just a single ModelEntity object that is fulfilling multiple purposes and thus requiring so many states, perhaps you might create multiple objects and have fewer states on each object.

For example you might have a Parts object that has only the states necessary for parts and a Employee object that has only the states necessary for employees.

Link to comment
Share on other sites

×
×
  • Create New...