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

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

addAnimation(const std::string &name, std::unique_ptr< Animation > animation)AnimationComponent
addClip(const std::string &name)AnimationComponent
AnimationComponent()AnimationComponent
Behavior()=defaultBehavior
clipAt(int index) constAnimationComponent
clipCount() constAnimationComponentinline
clips() constAnimationComponentinline
Component()Component
Component(const Component &)=deleteComponent
Component(Component &&)=deleteComponent
defaultClipIndex() constAnimationComponent
getCurrentAnimationName() constAnimationComponentinline
getOwner() constComponentinline
getUuid() constComponentinline
isPaused() constAnimationComponentinline
isPlaying() constAnimationComponentinline
isRegistered() constComponentinline
isStarted() constBehaviorinline
m_isRegisteredComponentprotected
m_isStartedBehaviorprotected
m_ownerComponentprotected
m_uuidComponentprotected
onAfterDeserialize() overrideAnimationComponentvirtual
onAttach() overrideAnimationComponentvirtual
onCollisionEnter(GameObject *other)Behaviorvirtual
onCollisionExit(GameObject *other)Behaviorvirtual
onCollisionStay(GameObject *other)Behaviorvirtual
onCreate() overrideBehaviorvirtual
onDestroy() overrideAnimationComponentvirtual
onDetach() overrideBehaviorvirtual
onFieldChanged(const std::string &fieldName) overrideAnimationComponentvirtual
onFixedUpdate(float fixedDt)Behaviorvirtual
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
removeClip(int index)AnimationComponent
resume()AnimationComponent
setClip(int index, const AnimationClip &clip)AnimationComponent
setDefaultClip(int index)AnimationComponent
setRegistered(bool registered)Componentinlineprotected
setStarted(bool isStarted)Behaviorinline
setUuid(uint64_t uuid)Componentinline
stop()AnimationComponent
syncClipsData()AnimationComponent
~AnimationComponent() overrideAnimationComponent
~Behavior() override=defaultBehavior
~Component()=defaultComponentvirtual