Untitled 2D game engine pre-alpha
A 2D game engine made with Vulkan in C++
 
Loading...
Searching...
No Matches
game.h File Reference

Defines game namespace, can be found in game.cpp. More...

#include <opinionated_type_names.h>
#include "constants_and_types.h"
#include <functional>

Go to the source code of this file.

Namespaces

namespace  game
 Handles game logic. Code can be found in game.cpp.
 

Functions

void game::SetUpdateFunction (std::function< void()> UpdateFunction)
 
void game::Run ()
 Starts the main loop.
 

Variables

auto & game::Execute = Run
 Alias for Run()
 
auto & game::StartUpdateLoop = Run
 Alias for Run()
 

Detailed Description

Defines game namespace, can be found in game.cpp.

Definition in file game.h.