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

Handles game logic. Definition for game namepsace found in game.h. More...

#include "game.h"
#include "internal.h"

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

std::function< void()> internal::UpdateFunction = nullptr
 
bool internal::isUpdateFunctionInitialised
 

Detailed Description

Handles game logic. Definition for game namepsace found in game.h.

Definition in file game.cpp.

Variable Documentation

◆ isUpdateFunctionInitialised

bool internal::isUpdateFunctionInitialised

Definition at line 11 of file game.cpp.

◆ UpdateFunction

std::function< void()> internal::UpdateFunction = nullptr

Definition at line 10 of file game.cpp.