GridTile Members

The GridTile type exposes the following members.

Constructors


  Name Description
Public method GridTile

Methods


  Name Description
Public method AddItem
Public method DescribeItemLocation
Public method ItemDescribe
Renders a description of the item. For a non-inventory slot, the description is rendered as the player viewing the item.
Public method ItemIncrease
Modifies the quantity of an item. No player stats are modified.
Public method ItemOptimize
Checks the quantity of an item and removes it, when the quantity is zero.
Public method Label
Public method ProcessWorld
Public method RemoveItem
Public method RevertToBackground
Public method SetBackgroundFeature
Public method SetFeature
Sets the FeatureType of the tile to a named FloorTileType
Public method TakeOffMessage
Public method ToString

Fields


  Name Description
Public field BackgroundFeature
The type of feature in this grid tile
Public field Static member EasyVisibility
Used within the view code to mark tiles that are "easily" visible
Public field FeatureType
The type of feature in this grid tile
Public field Static member InRoom
Set if the grid tile is part of a room
Public field Static member InVault
Set if the grid tile is part of a vault
Public field Static member IsVisible
Set if the grid tile is visible to the player
Public field Items
The index of the first item that is in this grid tile
Public field MonsterIndex
The index of the monster that is in this grid tile
Public field Static member PlayerLit
Set if the grid tile is currently lit by the player's light source
Public field Static member PlayerMemorized
Set if the player should remember the grid's contents
Protected field SaveGame
Public field ScentAge
The time since the player's scent in the tile was calculated
Public field ScentStrength
The strength of the player's scent in this tile
Public field Static member SelfLit
Set if the grid tile is lit independently of the player's light source
Public field Static member TempFlag
Used within the view and light code to mark tiles that might need a redraw
Public field TileFlags
Flags for the tile
Public field Static member TrapsDetected
Set if the grid tile has had a Detect Traps used on it
Public field X
Public field Y

Properties


  Name Description
Public property IsInEquipment
Public property IsInInventory
Returns false, because the item container doesn't belong to the players inventory.