persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
UIAnimationHandle Class Reference

Non-owning control handle for a UIAnimation managed by UIAnimator. More...

#include <UIAnimationHandle.hpp>

Public Member Functions

 UIAnimationHandle ()=default
 UIAnimationHandle (std::shared_ptr< UIAnimation > ptr)
void cancel ()
void pause ()
void resume ()
void reverse ()
bool isValid () const
bool isPlaying () const

Private Attributes

std::weak_ptr< UIAnimation > anim

Detailed Description

Non-owning control handle for a UIAnimation managed by UIAnimator.

Definition at line 16 of file UIAnimationHandle.hpp.

Constructor & Destructor Documentation

◆ UIAnimationHandle() [1/2]

UIAnimationHandle::UIAnimationHandle ( )
default

◆ UIAnimationHandle() [2/2]

UIAnimationHandle::UIAnimationHandle ( std::shared_ptr< UIAnimation > ptr)
inlineexplicit

Definition at line 21 of file UIAnimationHandle.hpp.

Member Function Documentation

◆ cancel()

void UIAnimationHandle::cancel ( )
inline

Definition at line 25 of file UIAnimationHandle.hpp.

◆ isPlaying()

bool UIAnimationHandle::isPlaying ( ) const
inline

Definition at line 62 of file UIAnimationHandle.hpp.

◆ isValid()

bool UIAnimationHandle::isValid ( ) const
inline

Definition at line 57 of file UIAnimationHandle.hpp.

◆ pause()

void UIAnimationHandle::pause ( )
inline

Definition at line 33 of file UIAnimationHandle.hpp.

◆ resume()

void UIAnimationHandle::resume ( )
inline

Definition at line 41 of file UIAnimationHandle.hpp.

◆ reverse()

void UIAnimationHandle::reverse ( )
inline

Definition at line 49 of file UIAnimationHandle.hpp.

Member Data Documentation

◆ anim

std::weak_ptr<UIAnimation> UIAnimationHandle::anim
private

Definition at line 69 of file UIAnimationHandle.hpp.


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