My Project
Client
Source
Component
CTimer.hpp
1
/*
2
** EPITECH PROJECT, 2022
3
** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4
** File description:
5
** CTimer
6
*/
7
8
#ifndef CTIMER_HPP_
9
#define CTIMER_HPP_
10
11
#include <chrono>
12
16
namespace
component
{
20
struct
ctimer_t {
21
std::chrono::steady_clock::time_point
deltaTime
;
22
std::chrono::steady_clock::time_point
animTimer
;
23
};
24
}
25
26
#endif
/* !CTIMER_HPP_ */
component
Namespace for all components.
Definition:
CDamage.hpp:14
component::ctimer_t::deltaTime
std::chrono::steady_clock::time_point deltaTime
delta time
Definition:
CTimer.hpp:21
component::ctimer_t::animTimer
std::chrono::steady_clock::time_point animTimer
delta time to handle animation
Definition:
CTimer.hpp:22
Generated by
1.8.17