LiveJumpPanel Class Reference

A container widget that jumps a child widget to the foreground of the screen. More...

Inheritance diagram for LiveJumpPanel:
Panel ContainerWidget Widget

List of all members.

Public Member Functions

 LiveJumpPanel ()
 Constructor.
void Jump ()
 Starts the jump.
void Jump (float x, float y)
 Starts the jump.

Protected Member Functions

override void OnUpdate (float elapsedTime)
 Update processing.

Properties

float JumpHeight [get, set]
 Obtains and sets the height of the jump.
float JumpDelayTime [get, set]
 Obtains and sets the delay time until each child widget jumps.
float JumpTime [get, set]
 Obtains and sets the time until each child widget jumps and the first one lands.
float TiltAngle [get, set]
 Obtains and sets the maximum tilting angle of the child widget.

Detailed Description

A container widget that jumps a child widget to the foreground of the screen.

Making them jump in order from the widget close to a specified position is possible.


Member Function Documentation

void Jump ( float  x,
float  y 
)

Starts the jump.

Parameters:
xX coordinate in the local coordinate system
yY coordinate in the local coordinate system
override void OnUpdate ( float  elapsedTime) [protected, virtual]

Update processing.

Parameters:
elapsedTimeElapsed time from previous update (ms)

Reimplemented from Widget.


Property Documentation

float JumpDelayTime [get, set]

Obtains and sets the delay time until each child widget jumps.

(ms/pixel) It is possible to specify the delay in ms per pixel for the distance from the jump center to the child widget.

float JumpTime [get, set]

Obtains and sets the time until each child widget jumps and the first one lands.

(ms)

float TiltAngle [get, set]

Obtains and sets the maximum tilting angle of the child widget.

(Radian)