Skip to content
Flecs v4.1
decl.hpp
Go to the documentation of this file.
1/**
2 * @file addons/cpp/mixins/timer/decl.hpp
3 * @brief Timer module declarations.
4 */
5
6#pragma once
7
8namespace flecs {
9
10/**
11 * @defgroup cpp_addons_timer Timer
12 * @ingroup cpp_addons
13 * Run systems at a time interval.
14 *
15 * @{
16 */
17
18/** Timer component. */
20/** Rate filter component. */
22
23/** Forward declaration for timer. */
24struct timer;
25
26/** @} */
27
28namespace _ {
29
30void timer_init(flecs::world& world);
31
32} // namespace _
33} // namespace flecs
EcsRateFilter RateFilter
Rate filter component.
Definition decl.hpp:21
EcsTimer Timer
Timer component.
Definition decl.hpp:19
Int to enum.
Definition component.hpp:18
Apply a rate filter to a tick source.
Definition timer.h:45
Component used for one-shot and interval timer functionality.
Definition timer.h:35
Timer class.
Definition impl.hpp:14
The world.
Definition world.hpp:129