Class OneDeeWalk
java.lang.Object
|
+--MathSystem
|
+--OneDeeWalk
- public class OneDeeWalk
- extends MathSystem
this class represents a mathematical system.
Method Summary |
void |
draw(int sizeX,
int sizeY,
Graphics gb)
draw()
Draws itself on the graphics buffer. |
String |
getInfo()
Returns a long string describing some info about current state. |
void |
iterate(int iterations)
Does a iteration. |
void |
reset()
Restarts the system |
void |
subiterate(int subiterations)
Does a subiteration, if applicable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
subit
public int subit
- Current Iteration Number
total1
public int total1
total2
public int total2
OneDeeWalk
public OneDeeWalk()
- The Constructor
reset
public void reset()
- Restarts the system
- Overrides:
reset
in class MathSystem
subiterate
public void subiterate(int subiterations)
- Does a subiteration, if applicable.
- Overrides:
subiterate
in class MathSystem
- Following copied from class:
MathSystem
- Parameters:
subiterations
- is the number of subiterations. Usually 1.
iterate
public void iterate(int iterations)
- Does a iteration.
- Overrides:
iterate
in class MathSystem
- Following copied from class:
MathSystem
- Parameters:
iterations
- is the number of iterations. Usually 1.
draw
public void draw(int sizeX,
int sizeY,
Graphics gb)
- draw()
Draws itself on the graphics buffer.
- Overrides:
draw
in class MathSystem
- Parameters:
sizeX
- is the x size of region on which to draw.sizeY
- is the y size of region on which to draw.
getInfo
public String getInfo()
- Description copied from class:
MathSystem
- Returns a long string describing some info about current state.
Override if you want such a function.
- Overrides:
getInfo
in class MathSystem