12345678910111213141516171819202122232425262728 |
- #ifndef FEEBLE_MUNDANE_UI_H
- #define FEEBLE_MUNDANE_UI_H
- #include <string>
- #include <any>
- #include <optional>
- #include <cstddef>
- #include "game.h"
- class ui
- {
- std::any state;
- public:
- ui();
- void intro(std::string title);
- void battle(game::battle&);
- std::optional<game::action> action();
- std::size_t update(const std::vector<game::state_update>&);
- bool loop();
- };
- #endif /* end of include guard */
|