ShitEngine
基于 C++20 与 SDL3 的轻量级 2D 游戏引擎
载入中...
搜索中...
未找到
AnimationComponent 成员列表

成员的完整列表,这些成员属于 AnimationComponent,包括所有继承而来的类成员

addAnimation(const std::string &name, std::unique_ptr< Animation > animation)AnimationComponent
AnimationComponent()AnimationComponent
Behavior()=defaultBehavior
Component()Component
Component(const Component &)=deleteComponent
Component(Component &&)=deleteComponent
getCurrentAnimationName() constAnimationComponentinline
getOwner() constComponentinline
isPaused() constAnimationComponentinline
isPlaying() constAnimationComponentinline
isRegistered() constComponentinline
isStarted() constBehaviorinline
m_isRegisteredComponentprotected
m_isStartedBehaviorprotected
m_ownerComponentprotected
onAttach() overrideAnimationComponentvirtual
onCreate() overrideBehaviorvirtual
onDestroy() overrideAnimationComponentvirtual
onDetach() overrideBehaviorvirtual
onStart() overrideAnimationComponentvirtual
onUpdate() overrideAnimationComponentvirtual
operator=(const Component &)=deleteComponent
operator=(Component &&)=deleteComponent
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)Behaviorinline
stop()AnimationComponent
~AnimationComponent() overrideAnimationComponent
~Behavior() override=defaultBehavior
~Component()=defaultComponentvirtual