Crossfire JXClient, Trunk
Public Member Functions | Package Attributes | List of all members
CLSTurtle Class Reference
Collaboration diagram for CLSTurtle:
Collaboration graph

Public Member Functions

 CLSTurtle (CLSTurtle turtle)
 
 CLSTurtle (float ang, float x, float y, int xorg, int yorg, float sx, float sy)
 
void draw (Graphics g)
 
void jump ()
 
void rotate (float theta)
 

Package Attributes

float angle
 
float scaleX
 
float scaleY
 
float X
 
int xoff
 
float Y
 
int yoff
 

Detailed Description

A Logo turtle class designed to support Context sensitive L-Systems.

This turtle performs a few basic maneuvers needed to support the set of characters used in Context sensitive L-Systems "+-fF[]".

Author
Jim Graham

Definition at line 332 of file CLSFractal.java.

Constructor & Destructor Documentation

◆ CLSTurtle() [1/2]

CLSTurtle.CLSTurtle ( float  ang,
float  x,
float  y,
int  xorg,
int  yorg,
float  sx,
float  sy 
)

Definition at line 342 of file CLSFractal.java.

References angle, scaleX, scaleY, X, xoff, Y, and yoff.

◆ CLSTurtle() [2/2]

CLSTurtle.CLSTurtle ( CLSTurtle  turtle)

Definition at line 353 of file CLSFractal.java.

References angle, scaleX, scaleY, X, xoff, Y, and yoff.

Member Function Documentation

◆ draw()

void CLSTurtle.draw ( Graphics  g)

Definition at line 372 of file CLSFractal.java.

References angle, scaleX, scaleY, X, xoff, Y, and yoff.

Referenced by CLSFractal.render().

Here is the caller graph for this function:

◆ jump()

void CLSTurtle.jump ( )

Definition at line 367 of file CLSFractal.java.

References angle, scaleX, scaleY, X, and Y.

Referenced by CLSFractal.render().

Here is the caller graph for this function:

◆ rotate()

void CLSTurtle.rotate ( float  theta)

Definition at line 363 of file CLSFractal.java.

References angle.

Referenced by CLSFractal.render().

Here is the caller graph for this function:

Member Data Documentation

◆ angle

float CLSTurtle.angle
package

Definition at line 334 of file CLSFractal.java.

Referenced by CLSTurtle(), draw(), jump(), and rotate().

◆ scaleX

float CLSTurtle.scaleX
package

Definition at line 337 of file CLSFractal.java.

Referenced by CLSTurtle(), draw(), and jump().

◆ scaleY

float CLSTurtle.scaleY
package

Definition at line 338 of file CLSFractal.java.

Referenced by CLSTurtle(), draw(), and jump().

◆ X

float CLSTurtle.X
package

Definition at line 335 of file CLSFractal.java.

Referenced by CLSTurtle(), draw(), jump(), and CLSFractal.render().

◆ xoff

int CLSTurtle.xoff
package

Definition at line 339 of file CLSFractal.java.

Referenced by CLSTurtle(), and draw().

◆ Y

float CLSTurtle.Y
package

Definition at line 336 of file CLSFractal.java.

Referenced by CLSTurtle(), draw(), jump(), and CLSFractal.render().

◆ yoff

int CLSTurtle.yoff
package

Definition at line 340 of file CLSFractal.java.

Referenced by CLSTurtle(), and draw().


The documentation for this class was generated from the following file: