org.jrabbit.standard.game.objects.particles
Class ParticleSprite.Transforming

java.lang.Object
  extended by org.jrabbit.standard.game.objects.base.Spatial
      extended by org.jrabbit.standard.game.objects.base.BaseSprite
          extended by org.jrabbit.standard.game.objects.particles.ParticleSprite
              extended by org.jrabbit.standard.game.objects.particles.ParticleSprite.Transforming
All Implemented Interfaces:
java.lang.Iterable<Particle>, Renderable, Updateable, Accepter<Particle>, Container<Particle>, Remover<Particle>, Skin, GLTransform, Blended, Colored, Dimensioned, GLGroupTransformed, Located, Rotated, Scaled, ScreenObject, Visible
Enclosing class:
ParticleSprite

public static class ParticleSprite.Transforming
extends ParticleSprite

ParticleSprite.Transforming creates a ParticleSprite that causes all contained Particles to move, rotate, and scale along with it. So, Particles at [0, 0] will be viewed at the location of the Sprite, etc.

Author:
Chris Molini

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jrabbit.standard.game.objects.particles.ParticleSprite
ParticleSprite.Images, ParticleSprite.Transforming
 
Field Summary
 
Fields inherited from class org.jrabbit.standard.game.objects.particles.ParticleSprite
blending, particles, skins
 
Fields inherited from class org.jrabbit.standard.game.objects.base.BaseSprite
color, screenCoords, transforms, visible
 
Fields inherited from class org.jrabbit.standard.game.objects.base.Spatial
location, rotation, scalar
 
Constructor Summary
ParticleSprite.Transforming(Skin... skins)
           
ParticleSprite.Transforming(java.lang.String... references)
          Creates a ParticleSprite.Transforming that uses Images to render its particles.
 
Method Summary
 
Methods inherited from class org.jrabbit.standard.game.objects.particles.ParticleSprite
add, add, blending, clear, contains, draw, height, iterator, remove, remove, setSkins, shouldRender, size, skinAt, skins, update, width
 
Methods inherited from class org.jrabbit.standard.game.objects.base.BaseSprite
bind, color, onscreen, release, render, screenCoords, setVisible, transforms, visible
 
Methods inherited from class org.jrabbit.standard.game.objects.base.Spatial
location, rotation, scalar, scaledDiameter, scaledHeight, scaledWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParticleSprite.Transforming

public ParticleSprite.Transforming(Skin... skins)

ParticleSprite.Transforming

public ParticleSprite.Transforming(java.lang.String... references)
Creates a ParticleSprite.Transforming that uses Images to render its particles.

Parameters:
references - The list of identifiers that determine which Images to access from the cache.