2 #include "oxygine-include.h" 7 DECLARE_SMART(TweenQueue, spTweenQueue);
12 enum { EVENT_LOOP_BEGIN = sysEventID(
'T',
'L',
'B'), };
13 enum { EVENT_LOOP_END = sysEventID(
'T',
'L',
'E'), };
18 static spTweenQueue
create(spTween t1);
21 static spTweenQueue
create(spTween t1, spTween t2);
24 static spTweenQueue
create(spTween t1, spTween t2, spTween t3);
27 static spTweenQueue
create(spTween t1, spTween t2, spTween t3, spTween t4);
30 static spTweenQueue
create(spTween t1, spTween t2, spTween t3, spTween t4, spTween t5);
33 static spTweenQueue
create(spTween t1, spTween t2, spTween t3, spTween t4, spTween t5, spTween t6);
36 static spTweenQueue
create(spTween t1, spTween t2, spTween t3, spTween t4, spTween t5, spTween t6, spTween t7);
39 spTween add(spTween t);
42 spTween add(
const GS& gs, timeMS duration,
int loops = 1,
bool twoSides =
false, timeMS delay = 0, Tween::EASE ease = Tween::ease_linear);
50 void _start(
Actor& actor);
61 spTween TweenQueue::add(
const GS& gs, timeMS duration,
int loops,
bool twoSides, timeMS delay, Tween::EASE ease)
63 return add(createTween(gs, duration, loops, twoSides, delay, ease));
67 spTween TweenQueue::add(
const GS& gs,
const TweenOptions& opt)
69 return add(createTween2(gs, opt));
static spTweenQueue create(spTween t1)
void complete(timeMS deltaTime)
Definition: TweenQueue.h:8
Definition: UpdateState.h:6
–oxgl-end–!
Definition: Actor.h:14