com.threerings.media.animation
Class ExplodeAnimation.ExplodeInfo

java.lang.Object
  extended by com.threerings.media.animation.ExplodeAnimation.ExplodeInfo
Enclosing class:
ExplodeAnimation

public static class ExplodeAnimation.ExplodeInfo
extends Object

A class that describes an explosion's attributes.


Field Summary
 Rectangle bounds
          The bounds within which to animate.
 long delay
          The animation length in milliseconds, or -1 if the animation should continue until all pieces are outside the bounds.
 float rvel
          The chunk rotational velocity in rotations per millisecond.
 int xchunk
          The number of image chunks on each axis.
 float xvel
          The maximum chunk velocity on each axis in pixels per millisecond.
 float yacc
          The y-axis chunk acceleration in pixels per millisecond.
 int ychunk
          The number of image chunks on each axis.
 float yvel
          The maximum chunk velocity on each axis in pixels per millisecond.
 
Constructor Summary
ExplodeAnimation.ExplodeInfo()
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bounds

public Rectangle bounds
The bounds within which to animate.


xchunk

public int xchunk
The number of image chunks on each axis.


ychunk

public int ychunk
The number of image chunks on each axis.


xvel

public float xvel
The maximum chunk velocity on each axis in pixels per millisecond.


yvel

public float yvel
The maximum chunk velocity on each axis in pixels per millisecond.


yacc

public float yacc
The y-axis chunk acceleration in pixels per millisecond.


rvel

public float rvel
The chunk rotational velocity in rotations per millisecond.


delay

public long delay
The animation length in milliseconds, or -1 if the animation should continue until all pieces are outside the bounds.

Constructor Detail

ExplodeAnimation.ExplodeInfo

public ExplodeAnimation.ExplodeInfo()
Method Detail

toString

public String toString()
Overrides:
toString in class Object