Proyecto Final - Turinmachin
Recreación del minijuego de matemáticas de Brain-Age usando redes neuronales
Loading...
Searching...
No Matches
game::Game Class Reference

#include <game.h>

Public Member Functions

 Game (SDL_Renderer *renderer, std::unique_ptr< common::IDigitAgent > agent, std::mt19937 rng)
 ~Game ()
auto should_quit () const -> bool
void handle_event (const SDL_Event &event)
void update (double delta)
void clear_canvas () const
void render (const ResourceManager &resources) const

Constructor & Destructor Documentation

◆ Game()

game::Game::Game ( SDL_Renderer * renderer,
std::unique_ptr< common::IDigitAgent > agent,
std::mt19937 rng )
explicit
Here is the call graph for this function:

◆ ~Game()

game::Game::~Game ( )

Member Function Documentation

◆ clear_canvas()

void game::Game::clear_canvas ( ) const
Here is the caller graph for this function:

◆ handle_event()

void game::Game::handle_event ( const SDL_Event & event)
Here is the call graph for this function:

◆ render()

void game::Game::render ( const ResourceManager & resources) const
Here is the call graph for this function:

◆ should_quit()

auto game::Game::should_quit ( ) const -> bool
nodiscard

◆ update()

void game::Game::update ( double delta)
Here is the call graph for this function:

The documentation for this class was generated from the following files: