20 #ifndef ANTKEEPER_GAME_REPRODUCTIVE_SYSTEM_HPP
21 #define ANTKEEPER_GAME_REPRODUCTIVE_SYSTEM_HPP
35 void update(
float t,
float dt)
override;
53 float m_time_scale{1.0f};
void update(float t, float dt) override
Perform's a system's update() function.
constexpr void set_time_scale(float scale) noexcept
Sets the factor by which the timestep dt will be scaled.
reproductive_system(entity::registry ®istry)
constexpr void set_physics_system(physics_system *physics_system) noexcept
Abstract base class for updatable systems.
entity::registry & registry
Registry on which the system operate.
entt::registry registry
Component registry type.
constexpr mat4< T > scale(const vec3< T > &v)
Constructs a scale matrix.