Class TField

Unit

Declaration

type TField = class(TObject)

Description

Class representing a single field inside of a room (with 9 fields).

Hierarchy

Overview

Methods

Public constructor Create(adescription: string; acontent: TPlaceable);

Properties

Public property description: string read _description;
Public property content: TPlaceable read _content write _content;

Description

Methods

Public constructor Create(adescription: string; acontent: TPlaceable);

constructor for a field.

Parameters
adescription
description of the field, enables better story telling.
acontent
an item or enemy that is placed on the field.
Returns

A new instance of TField.

Properties

Public property description: string read _description;

Read-only String-property containing the description of the field.

Public property content: TPlaceable read _content write _content;

Object-property containing the enemy/item on the field.


Generated by PasDoc 0.16.0.