MoveTransition

class MoveTransition: public Transition

Implements a transition that moves the specified data element by the given distances along the X and Y axes.

Inherits from Transition.

Summary
MoveTransitionImplements a transition that moves the specified data element by the given distances along the X and Y axes.
Functions
MoveTransitionInitializes the object.
~MoveTransitionReleases all allocated resources.
UpdateUpdates the transition by executing one moving step.
CompleteChecks if the transition is completed.

Functions

MoveTransition

MoveTransition(AlterableObject *pAlterableObject,  
float fDeltaLeft,  
float fDeltaTop,  
float fDeltaBottom,  
bool bSlowInSlowOut,  
int iMoveSteps =  MOVE_STEPS)

Initializes the object.

Parameters

pAlterableObjectPointer to the alterable object to be altered.
fDeltaLeftTotal horizontal distance.
fDeltaTopTotal vertical distance according to the upper vertices.
fDeltaBottomTotal vertical distance according to the lower vertices.  Usually the same as fDeltaTop.
bSlowInSlowOutIndicates if the movement shall be performed as slow-in-slow-out or with constant speed.
iTotalStepsDuration of the transition in steps.  Default value is MOVE_STEPS.

~MoveTransition

~MoveTransition()

Releases all allocated resources.

Update

void Update()

Updates the transition by executing one moving step.  Inherited from Transition.

Complete

bool Complete()

Checks if the transition is completed.  Inherited from Transition.

Returns

A boolean value indicating if the transition is completed.

class MoveTransition: public Transition
Implements a transition that moves the specified data element by the given distances along the X and Y axes.
MoveTransition(AlterableObject *pAlterableObject,  
float fDeltaLeft,  
float fDeltaTop,  
float fDeltaBottom,  
bool bSlowInSlowOut,  
int iMoveSteps =  MOVE_STEPS)
Initializes the object.
~MoveTransition()
Releases all allocated resources.
void Update()
Updates the transition by executing one moving step.
bool Complete()
Checks if the transition is completed.
class Transition
Abstract class that implements the skeleton of a transition.
Amount of steps for the move transition.
Close