- Preparing search index...
- The search index is not available
Chess Bots
Constructors
constructor
- new Pair<T>(item1: number, item2: number): Pair<T>
-
Parameters
-
item1: number
-
item2: number
Returns Pair<T>
Properties
Protected
Readonly
item1
item1: number
Protected
Readonly
item2
item2: number
Methods
add
- add(other: T): T
-
Returns T
Protected
Abstract
create
- create(item1: number, item2: number): T
-
Parameters
-
item1: number
-
item2: number
Returns T
div
- div(other: T): T
-
Returns T
mul
- mul(other: T): T
-
Returns T
sub
- sub(other: T): T
-
Returns T
toTuple
- toTuple(): [number, number]
-
Returns [number, number]
An abstract method used to dynamically generate new instances of the class at runtime.