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

Fluent builder for UISequenceAnimation. Requires a UIAnimator to start. More...

#include <UISequenceAnimation.hpp>

Collaboration diagram for UISequenceBuilder:

Public Member Functions

 UISequenceBuilder (UIAnimator *animOwner=nullptr)
template<typename Builder>
requires (!std::convertible_to<Builder, std::shared_ptr<UIAnimation>>)
UISequenceBuilder & append (Builder &&b)
template<typename Builder>
requires (!std::convertible_to<Builder, std::shared_ptr<UIAnimation>>)
UISequenceBuilder & join (Builder &&b)
UISequenceBuilder & append (std::shared_ptr< UIAnimation > anim)
UISequenceBuilder & join (std::shared_ptr< UIAnimation > anim)
UISequenceBuilder & repeat (UIRepeatMode mode, int count=-1)
std::shared_ptr< UIAnimation > build ()
UIAnimationHandle start ()

Private Attributes

std::shared_ptr< UISequenceAnimation > seq
UIAnimator * owner

Detailed Description

Fluent builder for UISequenceAnimation. Requires a UIAnimator to start.

Definition at line 109 of file UISequenceAnimation.hpp.

Constructor & Destructor Documentation

◆ UISequenceBuilder()

UISequenceBuilder::UISequenceBuilder ( UIAnimator * animOwner = nullptr)
inlineexplicit

Definition at line 112 of file UISequenceAnimation.hpp.

Here is the caller graph for this function:

Member Function Documentation

◆ append() [1/2]

template<typename Builder>
requires (!std::convertible_to<Builder, std::shared_ptr<UIAnimation>>)
UISequenceBuilder & UISequenceBuilder::append ( Builder && b)
inline

Definition at line 119 of file UISequenceAnimation.hpp.

Here is the call graph for this function:

◆ append() [2/2]

UISequenceBuilder & UISequenceBuilder::append ( std::shared_ptr< UIAnimation > anim)
inline

Definition at line 133 of file UISequenceAnimation.hpp.

Here is the call graph for this function:

◆ build()

std::shared_ptr< UIAnimation > UISequenceBuilder::build ( )
inline

Definition at line 151 of file UISequenceAnimation.hpp.

Here is the caller graph for this function:

◆ join() [1/2]

template<typename Builder>
requires (!std::convertible_to<Builder, std::shared_ptr<UIAnimation>>)
UISequenceBuilder & UISequenceBuilder::join ( Builder && b)
inline

Definition at line 127 of file UISequenceAnimation.hpp.

Here is the call graph for this function:

◆ join() [2/2]

UISequenceBuilder & UISequenceBuilder::join ( std::shared_ptr< UIAnimation > anim)
inline

Definition at line 139 of file UISequenceAnimation.hpp.

Here is the call graph for this function:

◆ repeat()

UISequenceBuilder & UISequenceBuilder::repeat ( UIRepeatMode mode,
int count = -1 )
inline

Definition at line 145 of file UISequenceAnimation.hpp.

Here is the call graph for this function:

◆ start()

UIAnimationHandle UISequenceBuilder::start ( )
inline

Definition at line 155 of file UIAnimator.hpp.

Member Data Documentation

◆ owner

UIAnimator* UISequenceBuilder::owner
private

Definition at line 160 of file UISequenceAnimation.hpp.

◆ seq

std::shared_ptr<UISequenceAnimation> UISequenceBuilder::seq
private

Definition at line 159 of file UISequenceAnimation.hpp.


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