CleanSweep
Class CleanSweep
mam.agent.pluginAgentRes.Drawer
|
+--CleanSweep.CleanSweep
- public class CleanSweep
- extends Drawer
Constructor Summary |
CleanSweep() renderCanvas(int w, int h) Constructor. |
Method Summary |
void | addFiles(String url, long size, int type) |
void | checkKeys() |
private void | concatFileList(File[] listToAdd) |
void | construct(int w, int h, PluginGLCanvas cnvs) |
void | display() void display() Draw to the canvas. |
private float | getRandom(boolean signed, float begin, float end) |
private void | grabFiles(File fileToRecurse) |
void | init() void init() Called just AFTER the GL-Context is created. |
void | initFiles() |
void | keyPressed(KeyEvent e) void keyPressed(KeyEvent e) Invoked when a key has been pressed. |
void | keyReleased(KeyEvent e) void keyReleased(KeyEvent e) Invoked when a key has been released. |
void | keyTyped(KeyEvent e) void keyTyped(KeyEvent e) Invoked when a key has been typed. |
protected void | playTraitedEventSound(String eventSoundName) |
void | preInit() void preInit() Called just BEFORE the GL-Context is created. |
void | removeFile(String url) |
void | reshape(int width, int height) void reshape(int width, int height) Called after the first paint command. |
private void | setFiles() |
void | showFPS() |
camera
protected ProxyGLPoint camera
currFileCount
public int currFileCount
down
boolean down
fileRocks
public GLFileRocks fileRocks
FR_HIT
final static String FR_HIT
glut
protected GLUTFunc glut
heatseekers
public GLHeatSeekGroup heatseekers
ipShip
public GLIPShip ipShip
last
protected long last
left
boolean left
LightAmbient
float[] LightAmbient
LightDiffuse
float[] LightDiffuse
LightPosition
float[] LightPosition
m_listeners
private Collection m_listeners
maxFileCount
public int maxFileCount
menu
boolean menu
mousex
private int mousex
mousey
private int mousey
myFilter
private JavaFilter myFilter
now
protected long now
printFps
protected int printFps
rand
private Random rand
reload
public long reload
right
boolean right
score
public int score
seekerstart
public long seekerstart
SHIP_BONUS
final static String SHIP_BONUS
SHIP_DEATH
final static String SHIP_DEATH
SHIP_FIRE
final static String SHIP_FIRE
SHIP_SEEKER
final static String SHIP_SEEKER
SHIP_THRUST
final static String SHIP_THRUST
shipBonus
int shipBonus
text
String text
textTime
long textTime
totalFiles
public File[] totalFiles
type
public int type
up
boolean up
CleanSweep
public CleanSweep()
- renderCanvas(int w, int h) Constructor.
addFiles
public void addFiles(String url, long size, int type)
checkKeys
public void checkKeys()
concatFileList
private void concatFileList(File[] listToAdd)
construct
public void construct(int w, int h, PluginGLCanvas cnvs)
display
public void display()
- void display() Draw to the canvas.
getRandom
private float getRandom(boolean signed, float begin, float end)
grabFiles
private void grabFiles(File fileToRecurse)
init
public void init()
- void init() Called just AFTER the GL-Context is created.
initFiles
public void initFiles()
keyPressed
public void keyPressed(KeyEvent e)
- void keyPressed(KeyEvent e) Invoked when a key has been pressed.
keyReleased
public void keyReleased(KeyEvent e)
- void keyReleased(KeyEvent e) Invoked when a key has been released.
keyTyped
public void keyTyped(KeyEvent e)
- void keyTyped(KeyEvent e) Invoked when a key has been typed. This event occurs when a key press is followed by a key release.
playTraitedEventSound
protected void playTraitedEventSound(String eventSoundName)
preInit
public void preInit()
- void preInit() Called just BEFORE the GL-Context is created.
removeFile
public void removeFile(String url)
reshape
public void reshape(int width, int height)
- void reshape(int width, int height) Called after the first paint command.
setFiles
private void setFiles()
showFPS
public void showFPS()