Doxygen Samurai Engine 0.0.1
Doxygen Samurai Engine Documentation
Loading...
Searching...
No Matches
samurai::Window Struct Reference

#include <window.h>

Collaboration diagram for samurai::Window:
Collaboration graph

Public Member Functions

void create ()
 
void saveWindowPositions ()
 
bool shouldClose ()
 
void update ()
 

Public Attributes

samurai::Context context = {}
 
Input input = {}
 
WindowState windowState = {}
 
std::chrono::steady_clock::time_point timer = {}
 

Detailed Description

Definition at line 24 of file window.h.

Member Function Documentation

◆ create()

void samurai::Window::create ( )

Definition at line 18 of file window.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveWindowPositions()

void samurai::Window::saveWindowPositions ( )

Definition at line 74 of file window.cpp.

Here is the caller graph for this function:

◆ shouldClose()

bool samurai::Window::shouldClose ( )

Definition at line 94 of file window.cpp.

Here is the caller graph for this function:

◆ update()

void samurai::Window::update ( )

Definition at line 103 of file window.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ context

samurai::Context samurai::Window::context = {}

Definition at line 26 of file window.h.

◆ input

Input samurai::Window::input = {}

Definition at line 31 of file window.h.

◆ timer

std::chrono::steady_clock::time_point samurai::Window::timer = {}

Definition at line 45 of file window.h.

◆ windowState

WindowState samurai::Window::windowState = {}

Definition at line 34 of file window.h.


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