Region

interface Region<C : Coordinate>

Represents a region on the board

Parameters

C

the type of a coordinate.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
isInRegion
Link copied to clipboard
abstract fun isInRegion(coordinate: C): Boolean
Returns if the coordinate is within the region specified
toString
Link copied to clipboard
open fun toString(): String

Inheritors

Region2D
Link copied to clipboard
Region3D
Link copied to clipboard