A wrapper around App that separates it from Window, the script running the game loop. This receives user events and pass them along to App.
More...
#include <core.h>
A wrapper around App that separates it from Window, the script running the game loop. This receives user events and pass them along to App.
◆ Core()
◆ ~Core()
◆ draw()
void Saga::Core::draw |
( |
| ) |
|
◆ fixedupdate()
void Saga::Core::fixedupdate |
( |
double |
fixedDeltaTime, |
|
|
double |
time |
|
) |
| |
◆ framebufferResizeEvent()
void Saga::Core::framebufferResizeEvent |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
◆ keyEvent()
void Saga::Core::keyEvent |
( |
int |
key, |
|
|
int |
action |
|
) |
| |
◆ mouseButtonEvent()
void Saga::Core::mouseButtonEvent |
( |
int |
button, |
|
|
int |
action |
|
) |
| |
◆ mousePosEvent()
void Saga::Core::mousePosEvent |
( |
double |
xpos, |
|
|
double |
ypos |
|
) |
| |
◆ scrollEvent()
void Saga::Core::scrollEvent |
( |
double |
distance | ) |
|
◆ update()
void Saga::Core::update |
( |
double |
deltaTime, |
|
|
double |
time |
|
) |
| |
◆ windowResizeEvent()
void Saga::Core::windowResizeEvent |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
The documentation for this class was generated from the following files: