Assemberist / cppRpg

0 stars 0 forks source link

Move text_field from object to card or user_ifc #8

Closed Assemberist closed 2 years ago

Assemberist commented 2 years ago

Object contain most information about graphical representation, effect, actions and part of game logic. It is needed to split it. Text_field required for card or user_ifc modules, so using it can be removed from object.

Assemberist commented 2 years ago

Object fills menu by spells. It is can be done upper. So it has changed to sharing of vector content. Removing calculation of effects is more difficult. text_field can't be extracted due to active using of allerts. Allerts to log can be changed to return of text.

Assemberist commented 2 years ago

text_field fully removed from object. But i decide do not delivery this changes to master. This log is good instrument for runtime testing and debugging. It also good experience for next development.