BunjeeJumpEffect Class Reference

Effect in which the widget falls from above, hops a little, and then stops. More...

Inheritance diagram for BunjeeJumpEffect:
Effect

List of all members.

Public Member Functions

 BunjeeJumpEffect ()
 Constructor.
 BunjeeJumpEffect (Widget widget, float elasticity)
 Constructor.

Static Public Member Functions

static BunjeeJumpEffect CreateAndStart (Widget widget, float elasticity)
 Create an instance and start the effect.

Protected Member Functions

override void OnStart ()
 Start processing.
override EffectUpdateResponse OnUpdate (float elapsedTime)
 Update processing.
override void OnStop ()
 Stop processing.

Properties

float Elasticity [get, set]
 Obtains and sets the elasticity.

Detailed Description

Effect in which the widget falls from above, hops a little, and then stops.

Effect in which the menu screen is similar to "Little Big Planet"


Constructor & Destructor Documentation

BunjeeJumpEffect ( Widget  widget,
float  elasticity 
)

Constructor.

Parameters:
widgetEffect-target widget
elasticityElasticity (0 - 1)

Member Function Documentation

static BunjeeJumpEffect CreateAndStart ( Widget  widget,
float  elasticity 
) [static]

Create an instance and start the effect.

Parameters:
widgetEffect-target widget
elasticityElasticity (0 - 1)
Returns:
Effect instance
override EffectUpdateResponse OnUpdate ( float  elapsedTime) [protected, virtual]

Update processing.

Parameters:
elapsedTimeElapsed time from previous update (ms)
Returns:
Response of effect update

Implements Effect.


Property Documentation

float Elasticity [get, set]

Obtains and sets the elasticity.

(0 - 1)