Brenta Engine
1.2
Loading...
Searching...
No Matches
time.hpp
1
// SPDX-License-Identifier: MIT
2
// Author: Giovanni Santini
3
// Mail: giovanni.santini@proton.me
4
// Github: @San7o
5
6
#pragma once
7
8
namespace
brenta
9
{
10
11
class
Time
12
{
13
public
:
14
15
float
elapsed;
16
float
delta;
17
float
last_frame;
18
19
Time
() =
default
;
20
21
float
get_fps();
22
23
// updates its data
24
void
update(
float
new_time);
25
26
};
27
28
}
// namespace brenta
brenta::Time
Definition
time.hpp:12
include
brenta
time.hpp
Generated by
1.9.8