CS4850 Final Project
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Application Struct Reference

Application class that manages the game loop. More...

#include <Application.hpp>

Public Member Functions

void StartUp ()
 Start the application.
 
void Shutdown ()
 Shutdown the application.
 
void Input (float deltaTime)
 Handle input.
 
void Update (float deltaTime)
 Update the game state.
 
void Render ()
 Render the game.
 
void Loop (float targetFPS)
 Main game loop.
 
void StartScene (std::shared_ptr< Scene > scene)
 Set the title of the window.
 

Detailed Description

Application class that manages the game loop.

Member Function Documentation

◆ Input()

void Application::Input ( float deltaTime)

Handle input.

Parameters
deltaTimeTime since last frame

◆ Loop()

void Application::Loop ( float targetFPS)

Main game loop.

Parameters
targetFPSTarget frames per second

◆ StartScene()

void Application::StartScene ( std::shared_ptr< Scene > scene)

Set the title of the window.

Parameters
titleTitle of the window

◆ Update()

void Application::Update ( float deltaTime)

Update the game state.

Parameters
deltaTimeTime since last frame

The documentation for this struct was generated from the following file: