|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFractal.LSystem2State
public class LSystem2State
Track and update the state of the LSystem. This is Cursor in the other four implemtations
Constructor Summary | |
---|---|
LSystem2State()
Create a new state at position (0, 0) and at angle 270 degrees, or pointing vertically up, in screen co-ordinates, i.e. calling move would move up the screen |
|
LSystem2State(LSystem2State state)
Create a new state cloned from another |
Method Summary | |
---|---|
float |
getAngle()
Get the angle of the state in radians. |
float |
getX()
Get the x co-ordinate value of the state |
float |
getY()
Get the y co-ordinate value of the state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LSystem2State()
public LSystem2State(LSystem2State state)
state
- The state to cloneMethod Detail |
---|
public float getX()
public float getY()
public float getAngle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |