Tile (class)

From PGE Wiki
Jump to: navigation, search

This class provides fields/functions for managing Tiles on the overworld.

Tile class
Type Function/Field Return values/Value type Description
Field Tile.id double The id of the tile object.
Field Tile.x double The x position of the tile object.
Field Tile.y double The y position of the tile object.
Field Tile.width double The width of the tile object.
Field Tile.height double The height of the tile object.
Field Tile.isValid boolean Whether the object is valid or not.