net.jinx.physics.fountain
Class TriangleParticleVisible

java.lang.Object
  extended by net.jinx.physics.fountain.TriangleParticleVisible
All Implemented Interfaces:
ParticleVisible

public class TriangleParticleVisible
extends java.lang.Object
implements ParticleVisible


Constructor Summary
TriangleParticleVisible()
           
 
Method Summary
 void deinit(Context opt)
           
 void draw(Context opt, java.util.Collection objects)
           
protected  void drawParticle(Context opt, PhysicalObject obj)
           
 void drawPass(Context opt, Pass pass, java.util.Collection objects)
           
 void init(Context opt)
           
 void setFinalMaterial(Material mat)
           
 void setHeight(float height)
           
 void setInitialMaterial(Material mat)
           
 void setTranslucent(boolean translucent)
           
 void setWidth(float width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriangleParticleVisible

public TriangleParticleVisible()
Method Detail

setInitialMaterial

public void setInitialMaterial(Material mat)

setFinalMaterial

public void setFinalMaterial(Material mat)

setWidth

public void setWidth(float width)

setHeight

public void setHeight(float height)

setTranslucent

public void setTranslucent(boolean translucent)

init

public void init(Context opt)
Specified by:
init in interface ParticleVisible

draw

public void draw(Context opt,
                 java.util.Collection objects)
Specified by:
draw in interface ParticleVisible

drawPass

public void drawPass(Context opt,
                     Pass pass,
                     java.util.Collection objects)
Specified by:
drawPass in interface ParticleVisible

drawParticle

protected void drawParticle(Context opt,
                            PhysicalObject obj)

deinit

public void deinit(Context opt)
Specified by:
deinit in interface ParticleVisible