Assemberist / cppRpg

0 stars 0 forks source link

Move spells from text_field #7

Closed Assemberist closed 2 years ago

Assemberist commented 2 years ago

Include sequence is not very logical: spells -> text_field -> object. Text fields should be only ncurses-specific without game-specific elements.

Assemberist commented 2 years ago

There is 3 text_field class-based clsses: log, menu and his child - spell_menu. First 2 classes can be fully separated (because some crutches were inserted in the menu). Spell_menu can be purged with moving his functions into menu.