mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:00:54 +01:00
15 lines
548 B
C
15 lines
548 B
C
#pragma once
|
|
|
|
struct World;
|
|
struct Actor;
|
|
|
|
/**
|
|
* @brief Manages interpolation of movement and animations.
|
|
*/
|
|
struct InterpolationSystem
|
|
{
|
|
static void Update(Actor* apActor, InterpolationComponent& aInterpolationComponent, uint64_t aTick) noexcept;
|
|
static void AddPoint(InterpolationComponent& aInterpolationComponent, const InterpolationComponent::TimePoint& acPoint) noexcept;
|
|
static InterpolationComponent& Setup(World& aWorld, entt::entity aEntity) noexcept;
|
|
static void Clean(World& aWorld, entt::entity aEntity) noexcept;
|
|
};
|