Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Public Member Functions | Public Attributes | List of all members
Engine Class Reference

#include <engine.h>

Public Member Functions

bool initialize (int window_w, int window_h, const char *title="Golias Engine - Window", Uint32 window_flags=SDL_WINDOW_RESIZABLE)
 
void run ()
 
Timerget_timer ()
 
Rendererget_renderer () const
 
SDL_Window * get_window () const
 
EngineConfigget_config ()
 
flecs::world & get_world ()
 
 ~Engine ()
 

Public Attributes

bool is_running = false
 
SDL_Event event
 

Constructor & Destructor Documentation

◆ ~Engine()

Engine::~Engine ( )

Member Function Documentation

◆ get_config()

EngineConfig & Engine::get_config ( )

◆ get_renderer()

Renderer * Engine::get_renderer ( ) const

◆ get_timer()

Timer & Engine::get_timer ( )

◆ get_window()

SDL_Window * Engine::get_window ( ) const

◆ get_world()

flecs::world & Engine::get_world ( )

◆ initialize()

bool Engine::initialize ( int  window_w,
int  window_h,
const char *  title = "Golias Engine - Window",
Uint32  window_flags = SDL_WINDOW_RESIZABLE 
)

◆ run()

void Engine::run ( )

Member Data Documentation

◆ event

SDL_Event Engine::event

◆ is_running

bool Engine::is_running = false

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