64 virtual void SetSelectedItem(
const int itemIndex) { m_selectedItemIndex = itemIndex; }
68 virtual void SetDisplayCount(
const unsigned int count) { m_displayCount = count; }
76 virtual size_t GetCount()
const {
return m_menuItems.size(); }
85 std::vector<MenuItem *> m_menuItems;
87 unsigned int m_selectedItemIndex = 0;
89 unsigned int m_displayCount = 0;
91 unsigned int m_displayStartIndex = 0;
93 bool m_itemListWraps =
false;
Contains timing values for game updates and rendering.
Base class for all game screens and menus.
Enables a group of sprites to be drawn using the same settings.
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...