maya-dates

@drewsonne/maya-dates / Exports / LordOfTheNight

Class: LordOfTheNight

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)

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new LordOfTheNight(id)

Parameters

Name Type
id number

Defined in

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

Properties

id

id: number

Defined in

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

Methods

toString

toString(): string

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

Returns

string

Defined in

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