22 lines
587 B
C++
22 lines
587 B
C++
#include "window.hpp"
|
|
|
|
#include "menu.hpp"
|
|
|
|
const window_descriptor_t window_descriptors[] = {
|
|
[window_descriptor_t::start] = {
|
|
.data = { .menu = &menu_start },
|
|
.draw = window__menu_t::draw,
|
|
.update = window__menu_t::update,
|
|
},
|
|
[window_descriptor_t::fight] = {
|
|
.data = { .menu = &menu_fight },
|
|
.draw = window__menu_t::draw,
|
|
.update = window__menu_t::update_fight,
|
|
},
|
|
[window_descriptor_t::fight_moves] = {
|
|
.data = { .menu = &menu_fight_moves },
|
|
.draw = window__menu_t::draw_fight_moves,
|
|
.update = window__menu_t::update_fight_moves,
|
|
},
|
|
};
|