Class: Level

(abstract) Level()

Abstract Level for representation purposes

Constructor

(abstract) new Level()

Source:

Classes

Level

Members

blocks :Set.<LevelObject>

The blocks in the level.
Type:
Source:

coordinates

Gets all the coordinates of the blocks in the level.
Source:

dimension :Dimension

The dimension of the level.
Type:
Source:

headers :Map.<string, any>

The headers of the level.
Type:
  • Map.<string, any>
Source:

rawBlocks

Gets all the raw blocks in the level.
Source:

spawn

Gets the spawn point of the level.
Source:

Methods

toString() → {string}

Gets the string representation of the level.
Source:
Returns:
The string representation of the level.
Type
string