GapPattern

public class GapPattern extends Pattern

Class GapPattern. Provides gappattern functionality for the Hytale server.

java.lang.Object > Pattern > GapPattern

Field Summary

axisPositionedPatterns

private List> axisPositionedPatterns

Field axisPositionedPatterns.

depthPositionedPatterns

private List depthPositionedPatterns

Field depthPositionedPatterns.

gapSize

private double gapSize

Field gapSize.

anchorSize

private double anchorSize

Field anchorSize.

anchorRoughness

private double anchorRoughness

Field anchorRoughness.

depthDown

private int depthDown

Field depthDown.

depthUp

private int depthUp

Field depthUp.

gapPattern

private Pattern gapPattern

Field gapPattern.

anchorPattern

private Pattern anchorPattern

Field anchorPattern.

readSpaceSize

private SpaceSize readSpaceSize

Field readSpaceSize.

positions

final List positions

Field positions.

stepsDown

final int stepsDown

Field stepsDown.

stepsUp

final int stepsUp

Field stepsUp.

uniquePositions

final ArrayList uniquePositions

Field uniquePositions.

positionsSet

final HashSet positionsSet

Field positionsSet.

halfWall

final double halfWall

Field halfWall.

mov

final Vector3d mov

Field mov.

stepSize

final double stepSize

Field stepSize.

anchor

final Vector3d anchor

Field anchor.

steps

final int steps

Field steps.

childPosition

final Vector3i childPosition

Field childPosition.

childContext

final Context childContext

Field childContext.

position

private Vector3i position

Field position.

pattern

private Pattern pattern

Field pattern.

Method Detail

GapPattern

public public GapPattern (@Nonnull final List angles, final double gapSize, final double anchorSize, final double anchorRoughness, final int depthDown, final int depthUp, @Nonnull final Pattern gapPattern, @Nonnull final Pattern anchorPattern)

Method GapPattern.

Parameters:
@Nonnull final List angles
final double gapSize
final double anchorSize
final double anchorRoughness
final int depthDown
final int depthUp
@Nonnull final Pattern gapPattern
@Nonnull final Pattern anchorPattern

SpaceSize

public new SpaceSize (new Vector3i()

Method SpaceSize.

Parameters:
new Vector3i(

Vector3i

public new Vector3i ()

Method Vector3i.

renderDepths

private List renderDepths ()

Method renderDepths.

PositionedPattern

public new PositionedPattern (this.gapPattern, pointer.clone()

Method PositionedPattern.

Parameters:
this.gapPattern this.gapPattern
pointer.clone( pointer.clone(

renderPositions

private List renderPositions (final float angle)

Method renderPositions.

Parameters:
final float angle

renderHalfPositions

private List renderHalfPositions (final float angle)

Method renderHalfPositions.

Parameters:
final float angle

matches

public boolean matches (@Nonnull final Context context)

Method matches.

Parameters:
@Nonnull final Context context

readSpace

public SpaceSize readSpace ()

Method readSpace.

getX

public int getX ()

Method getX.

getY

public int getY ()

Method getY.

getZ

public int getZ ()

Method getZ.

getPattern

public Pattern getPattern ()

Method getPattern.

clone

protected PositionedPattern clone ()

Method clone.