diff options
Diffstat (limited to 'src/game/status_manager.cpp')
-rw-r--r-- | src/game/status_manager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/status_manager.cpp b/src/game/status_manager.cpp index 927f645..1a709d3 100644 --- a/src/game/status_manager.cpp +++ b/src/game/status_manager.cpp @@ -8,12 +8,18 @@ StatusManager::StatusManager(std::shared_ptr<IStatusLine> statusline) noexcept : _statusline(std::move(statusline)) { +} + +void StatusManager::initialize() noexcept +{ _statusline->set_section_length(StatusLineSection::A, 5U); _statusline->set_section_length(StatusLineSection::B, 15U); _statusline->set_section_length(StatusLineSection::C, 15U); _statusline->set_section_length(StatusLineSection::D, 20U); _statusline->set_section_length(StatusLineSection::E, 15U); _statusline->set_section_length(StatusLineSection::F, 15U); + + _statusline->initialize_background(); } void StatusManager::set_section_title( |