de.hattrickorganizer.credits
Class PartikelEffect

java.lang.Object
  extended by de.hattrickorganizer.credits.PartikelEffect
All Implemented Interfaces:
DynamischesObjekt

public class PartikelEffect
extends java.lang.Object
implements DynamischesObjekt

Erzeugt einen PartikelEffekt für Magische Ereignisse

Version:
0.2a 09.10.01
Author:
Volker Fischer

Field Summary
protected  int ausdehnungX
          TODO Missing Parameter Documentation
protected  int ausdehnungY
          TODO Missing Parameter Documentation
protected  int bogenStaerke
          TODO Missing Parameter Documentation
protected  int dauer
          TODO Missing Parameter Documentation
protected  int farbAbweichung
          TODO Missing Parameter Documentation
protected  java.awt.Color farbe
          TODO Missing Parameter Documentation
protected  int partikelAnzahl
          TODO Missing Parameter Documentation
protected  long time
          TODO Missing Parameter Documentation
protected  int zentrumX
          TODO Missing Parameter Documentation
protected  int zentrumY
          TODO Missing Parameter Documentation
 
Constructor Summary
PartikelEffect()
          Creates a new PartikelEffect object.
PartikelEffect(int partikelAnzahl, int zentrumX, int zentrumY, int ausdehnungX, int ausdehnungY, int dauer, int bogenStaerke, int farbAbweichung, java.awt.Color farbe, long time)
          Creates a new PartikelEffect object.
 
Method Summary
 boolean action(int time, long gesamtZeit)
          TODO Missing Method Documentation
 long getTime()
          TODO Missing Method Documentation
 void init()
          TODO Missing Method Documentation
 void render(java.awt.Graphics g, int xx, int yy)
          TODO Missing Method Documentation
 void setTime(long time)
          TODO Missing Method Documentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

farbe

protected java.awt.Color farbe
TODO Missing Parameter Documentation


ausdehnungX

protected int ausdehnungX
TODO Missing Parameter Documentation


ausdehnungY

protected int ausdehnungY
TODO Missing Parameter Documentation


bogenStaerke

protected int bogenStaerke
TODO Missing Parameter Documentation


dauer

protected int dauer
TODO Missing Parameter Documentation


farbAbweichung

protected int farbAbweichung
TODO Missing Parameter Documentation


partikelAnzahl

protected int partikelAnzahl
TODO Missing Parameter Documentation


zentrumX

protected int zentrumX
TODO Missing Parameter Documentation


zentrumY

protected int zentrumY
TODO Missing Parameter Documentation


time

protected long time
TODO Missing Parameter Documentation

Constructor Detail

PartikelEffect

public PartikelEffect(int partikelAnzahl,
                      int zentrumX,
                      int zentrumY,
                      int ausdehnungX,
                      int ausdehnungY,
                      int dauer,
                      int bogenStaerke,
                      int farbAbweichung,
                      java.awt.Color farbe,
                      long time)
Creates a new PartikelEffect object.

Parameters:
partikelAnzahl - TODO Missing Constructuor Parameter Documentation
zentrumX - TODO Missing Constructuor Parameter Documentation
zentrumY - TODO Missing Constructuor Parameter Documentation
ausdehnungX - TODO Missing Constructuor Parameter Documentation
ausdehnungY - TODO Missing Constructuor Parameter Documentation
dauer - TODO Missing Constructuor Parameter Documentation
bogenStaerke - TODO Missing Constructuor Parameter Documentation
farbAbweichung - TODO Missing Constructuor Parameter Documentation
farbe - TODO Missing Constructuor Parameter Documentation
time - TODO Missing Constructuor Parameter Documentation

PartikelEffect

public PartikelEffect()
Creates a new PartikelEffect object.

Method Detail

setTime

public final void setTime(long time)
TODO Missing Method Documentation

Specified by:
setTime in interface DynamischesObjekt
Parameters:
time - TODO Missing Method Parameter Documentation

getTime

public final long getTime()
TODO Missing Method Documentation

Specified by:
getTime in interface DynamischesObjekt
Returns:
TODO Missing Return Method Documentation

action

public final boolean action(int time,
                            long gesamtZeit)
TODO Missing Method Documentation

Specified by:
action in interface DynamischesObjekt
Parameters:
time - TODO Missing Method Parameter Documentation
gesamtZeit - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

init

public final void init()
TODO Missing Method Documentation


render

public final void render(java.awt.Graphics g,
                         int xx,
                         int yy)
TODO Missing Method Documentation

Specified by:
render in interface DynamischesObjekt
Parameters:
g - TODO Missing Method Parameter Documentation
xx - TODO Missing Method Parameter Documentation
yy - TODO Missing Method Parameter Documentation