Skip to main content

LordOfTheNight

Defined in: lc/night/lord-of-night.ts:10

Describes one of the 9 Lords of the night. This class is accessible through its instantiated values, or the get() method.

Example​

let lord_of_night_g8_1 = mayadates.lc.night.get('G8')
let lord_of_night_g8_2 = mayadates.lc.night.G8
console.log(lord_of_night_g8_1 === lord_of_night_g8_2)

Constructors​

Constructor​

new LordOfTheNight(id): LordOfTheNight

Defined in: lc/night/lord-of-night.ts:16

Parameters​

id​

number

Returns​

LordOfTheNight

Properties​

id​

id: number

Defined in: lc/night/lord-of-night.ts:11

Methods​

toString()​

toString(): string

Defined in: lc/night/lord-of-night.ts:28

Represent the Lord of the night as a string G1..G9.

Returns​

string