CleanSweep
Class GLFileRocks


public class GLFileRocks


Field Summary
 private booleanalreadydraw
           
 private PluginGLCanvascanvas
           
 ProxyGLCubecube
           
 ProxyGLDiamonddia
           
 longdisFileSize
           
 private intdrawCount
           
 GLExplosionsexplosions
           
 CollectionfileInfo
           
 (package private) final static StringFR_EXPLODE
           
 private GLFuncgl
           
 private longleveluptimer
           
 private intmaxFRs
           
 CleanSweepparent
           
 ProxyGLPyramidpyr
           
 private Randomrand
           
 protected floatrot
           
 protected floatrotSpeed
           
 private inttotal
           

Constructor Summary
GLFileRocks(PluginGLCanvas Plugincanvas, CleanSweep prnt)
           

Method Summary
 voidaddFile(String nurl, long size, int type)
           
 private voidcheckDraw()
           
 booleancheckDupes(String nurl)
           
 StringdetectCollision(ProxyGLPoint bullet, double dx, double dy)
           
 voiddraw()
           
 intgetCurrDrawn()
           
 private floatgetRandom(boolean signed, float begin, float end)
           
 protected voidplayTraitedEventSound(String eventSoundName)
           
 voidremoveFile(String url)
           
 private booleansetDraw()
           
 voidsetRotSpeed(float setRot)
           

Field Detail

alreadydraw

private boolean alreadydraw

canvas

private PluginGLCanvas canvas

cube

public ProxyGLCube cube

dia

public ProxyGLDiamond dia

disFileSize

public long disFileSize

drawCount

private int drawCount

explosions

public GLExplosions explosions

fileInfo

public Collection fileInfo

FR_EXPLODE

final static String FR_EXPLODE

gl

private GLFunc gl

leveluptimer

private long leveluptimer

maxFRs

private int maxFRs

parent

public CleanSweep parent

pyr

public ProxyGLPyramid pyr

rand

private Random rand

rot

protected float rot

rotSpeed

protected float rotSpeed

total

private int total
Constructor Detail

GLFileRocks

public GLFileRocks(PluginGLCanvas Plugincanvas, CleanSweep prnt)
Method Detail

addFile

public void addFile(String nurl, long size, int type)

checkDraw

private void checkDraw()

checkDupes

public boolean checkDupes(String nurl)

detectCollision

public String detectCollision(ProxyGLPoint bullet, double dx, double dy)

draw

public void draw()

getCurrDrawn

public int getCurrDrawn()

getRandom

private float getRandom(boolean signed, float begin, float end)

playTraitedEventSound

protected void playTraitedEventSound(String eventSoundName)

removeFile

public void removeFile(String url)

setDraw

private boolean setDraw()

setRotSpeed

public void setRotSpeed(float setRot)