My Project
Server
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
spawnEnemyDeltaTime
;
23
};
24
}
25
26
#endif
/* !CTIMER_HPP_ */
component::ctimer_t::spawnEnemyDeltaTime
std::chrono::steady_clock::time_point spawnEnemyDeltaTime
delta time to handle enemy spawn
Definition:
CTimer.hpp:22
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
A structure representing the timer component of an entity.
Definition:
CTimer.hpp:20
Generated by
1.8.17