TunnelRect

Inheritance: java.lang.Object

public class TunnelRect

Rectangle of the tunnels.

Constructors

Constructor Description
TunnelRect(int wayStart, int wayEnd, int cutFrom, int cutTo, boolean isCol) Initializes a new instance of the TunnelRect class by start and end coordinates
TunnelRect()

Fields

Field Description
CutFrom Coordinate to cut from
CutTo Coordinate to end cut
IsCol If true - research column, if false - research rows
WayEnd Way end
WayStart Way start

Methods

Method Description
columnTunnel(RectangleVertexes vertexes) Creates a new instance of the TunnelRect class by region vertexes for columns researching
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
rowTunnel(RectangleVertexes vertexes) Creates a new instance of the TunnelRect class by region vertexes for rows researching
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

TunnelRect(int wayStart, int wayEnd, int cutFrom, int cutTo, boolean isCol)

public TunnelRect(int wayStart, int wayEnd, int cutFrom, int cutTo, boolean isCol)

Initializes a new instance of the TunnelRect class by start and end coordinates

Parameters:

Parameter Type Description
wayStart int Way start
wayEnd int Way end
cutFrom int Coordinate to cut from
cutTo int Coordinate to end cut
isCol boolean If true - research column, if false - research rows

TunnelRect()

public TunnelRect()

CutFrom

public int CutFrom

Coordinate to cut from

CutTo

public int CutTo

Coordinate to end cut

IsCol

public boolean IsCol

If true - research column, if false - research rows

WayEnd

public int WayEnd

Way end

WayStart

public int WayStart

Way start

columnTunnel(RectangleVertexes vertexes)

public static TunnelRect columnTunnel(RectangleVertexes vertexes)

Creates a new instance of the TunnelRect class by region vertexes for columns researching

Parameters:

Parameter Type Description
vertexes RectangleVertexes Region vertexes

Returns: TunnelRect - Created TunnelRect

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

rowTunnel(RectangleVertexes vertexes)

public static TunnelRect rowTunnel(RectangleVertexes vertexes)

Creates a new instance of the TunnelRect class by region vertexes for rows researching

Parameters:

Parameter Type Description
vertexes RectangleVertexes Region vertexes

Returns: TunnelRect - Created TunnelRect

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int