logo


vectorsources
Class Moths

java.lang.Object
  extended by vectorsources.Moths

public class Moths
extends java.lang.Object


Constructor Summary
Moths(float w, float h)
 
Method Summary
 void light(float x, float y)
 void paint(java.awt.Graphics2D g)
 void step(float dt)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Moths

public Moths(float w,
             float h)
Parameters:
w -
h -
Method Detail

light

public void light(float x,
                  float y)
Parameters:
x -
y -

paint

public void paint(java.awt.Graphics2D g)
Parameters:
g -

step

public void step(float dt)
Parameters:
dt -