DefaultStage

public class DefaultStage implements Stage

The sample stage.

Author:Kyle M. Douglass

Methods

getX

public double getX()
Returns:The stage’s x-position.

getY

public double getY()
Returns:The stage’s y-position.

getZ

public double getZ()
Returns:The stage’s z-position.

setX

public void setX(double x)

Set the stage’s x-position.

Parameters:
  • x

setY

public void setY(double y)

Set the stage’s y-position.

Parameters:
  • y

setZ

public void setZ(double z)

Set the stage’s z-position.

Parameters:
  • z

toJson

public JsonElement toJson()

Outputs the laser’s properties as a JSON element.

Returns:A JSON tree describing the laser’s properties.