Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::animation::TweenSystem Class Reference

#include <TweenSystem.hpp>

Public Member Functions

void update (ecs::Registry &registry, f32 deltaTime)
Entity createTween (ecs::Registry &registry, Entity targetEntity, TweenTarget property, f32 from, f32 to, f32 duration, EasingType easing=EasingType::Linear)
void cancelTween (ecs::Registry &registry, Entity tweenEntity)
void cancelAllTweens (ecs::Registry &registry, Entity targetEntity)
void pauseTween (ecs::Registry &registry, Entity tweenEntity)
void resumeTween (ecs::Registry &registry, Entity tweenEntity)

Detailed Description

Definition at line 13 of file TweenSystem.hpp.

Member Function Documentation

◆ cancelAllTweens()

void esengine::animation::TweenSystem::cancelAllTweens ( ecs::Registry & registry,
Entity targetEntity )

◆ cancelTween()

void esengine::animation::TweenSystem::cancelTween ( ecs::Registry & registry,
Entity tweenEntity )

◆ createTween()

Entity esengine::animation::TweenSystem::createTween ( ecs::Registry & registry,
Entity targetEntity,
TweenTarget property,
f32 from,
f32 to,
f32 duration,
EasingType easing = EasingType::Linear )

◆ pauseTween()

void esengine::animation::TweenSystem::pauseTween ( ecs::Registry & registry,
Entity tweenEntity )

◆ resumeTween()

void esengine::animation::TweenSystem::resumeTween ( ecs::Registry & registry,
Entity tweenEntity )

◆ update()


The documentation for this class was generated from the following files: