/
Kotopeska
/
RiseUpGame
Обзор
Документация
Войти
/
Kotopeska
/
RiseUpGame
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
controller/GamePlayController.h
28 строк
568 B
Kotopeska
init
10 май 2025, 17:31
10 май 2025, 17:31
dd8efb4
Код
Авторство
О чём код?
#ifndef GAMEPLAY_CONTROLLER_H #define GAMEPLAY_CONTROLLER_H #include "../model/GameModel.h" #include "../view/GameView.h" namespace Controller { class GamePlayController { private: Model::GameModel &m_model; View::GameView &m_view; public: GamePlayController(Model::GameModel &model, View::GameView &view); ~GamePlayController(); bool handleKeyPress(int key); bool handleMouseEvent(int event, int x, int y); void update(); }; } // namespace Controller #endif // GAMEPLAY_CONTROLLER_H