18 #ifndef HEADER_SUPERTUX_GUI_MENU_OBJECT_SELECT_HPP 19 #define HEADER_SUPERTUX_GUI_MENU_OBJECT_SELECT_HPP 21 #include "gui/menu.hpp" 30 ObjectSelectMenu(std::vector<std::unique_ptr<GameObject>>& objects, uint8_t get_objects_param = 0,
31 const std::function<
void (std::unique_ptr<GameObject>)>& add_object_func = {});
34 void menu_action(
MenuItem& item)
override;
41 std::vector<std::unique_ptr<GameObject>>& m_objects;
42 uint8_t m_get_objects_param;
43 const std::function<void (std::unique_ptr<GameObject>)> m_add_object_function;
45 std::string m_selected;
This class is responsible for: Updating and drawing the object.
Definition: game_object.hpp:83