Record TPlaceable

Hierarchy
Methods
Properties

Unit

Declaration

type TPlaceable = record

Description

Record type that acts as a "union". Needed to differentiate the things that can be placed onto fields.

Overview

Fields

Public isempty: boolean;
Published isitem: boolean
Public item: TItem
Public enemy: TEnemy

Description

Fields

Public isempty: boolean;

Indicates if the field is empty (True) or not (False).

Published isitem: boolean

Indicates if the field contains an item (True) or an enemy (False).

Public item: TItem

The content, if isitem is True.

Public enemy: TEnemy

The content, if isitem is False.


Generated by PasDoc 0.16.0.