Global

Members

# AliveEnergy

amount of energy

Example
world = this.world
function test() {
 return world
}
Properties
Name Type Description
energy Energy

The energy wasted in this surviving instance.

Default Value:
  • null
Source:

Methods

# fetchWeatherIcon(reading) → {string}

Maps a weather forecast description to an appropriate icon

Parameters
Name Type Description
reading WeatherReading

A weather forecast object

Source:
Returns

A keyword matching a CSS class name in the icon set

Type
  • string

Type Definitions

# PhotoSize

This object represents one size of a photo or a file / sticker thumbnail.

Type
  • object
Properties
Name Type Attributes Description
file_id string

Identifier for this file, which can be used to download or reuse the file

file_unique_id string

Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

width number

Photo width

height number

Photo height

file_size number <optional>

Optional. File size in bytes

Source:

# EnergyUnit

Type
  • object
Properties
Name Type Description
foo string

kajsdh kajhsd

hello Array.<Array.<string>>

aksjdh kaj shdkj asd

# EnvironmentConfiguration

Type
  • object
Properties
Name Type Description
name string

Name of a living thing

attributes Map.<string, number>

A mapping of attributes