ShitEngine
基于 C++20 与 SDL3 的轻量级 2D 游戏引擎
Toggle main menu visibility
载入中...
搜索中...
未找到
AnimationComponent 成员列表
成员的完整列表,这些成员属于
AnimationComponent
,包括所有继承而来的类成员
addAnimation
(const std::string &name, std::unique_ptr< Animation > animation)
AnimationComponent
AnimationComponent
()
AnimationComponent
Behavior
()=default
Behavior
Component
()
Component
Component
(const Component &)=delete
Component
Component
(Component &&)=delete
Component
getCurrentAnimationName
() const
AnimationComponent
inline
getOwner
() const
Component
inline
isPaused
() const
AnimationComponent
inline
isPlaying
() const
AnimationComponent
inline
isRegistered
() const
Component
inline
isStarted
() const
Behavior
inline
m_isRegistered
Component
protected
m_isStarted
Behavior
protected
m_owner
Component
protected
onAttach
() override
AnimationComponent
virtual
onCreate
() override
Behavior
virtual
onDestroy
() override
AnimationComponent
virtual
onDetach
() override
Behavior
virtual
onStart
() override
AnimationComponent
virtual
onUpdate
() override
AnimationComponent
virtual
operator=
(const Component &)=delete
Component
operator=
(Component &&)=delete
Component
pause
()
AnimationComponent
play
(const std::string &name)
AnimationComponent
play
(const std::string &name, const SpriteSheet &sheet, const std::vector< int > &frames, float duration=0.1f, bool loop=true)
AnimationComponent
resume
()
AnimationComponent
setStarted
(bool isStarted)
Behavior
inline
stop
()
AnimationComponent
~AnimationComponent
() override
AnimationComponent
~Behavior
() override=default
Behavior
~Component
()=default
Component
virtual
制作者
1.17.0