Class TWeapon

Unit

Declaration

type TWeapon = class(TItem)

Description

The base class for all weapons. It inherits most of its interface from its parent: TItem.

Additionaly some fields described in the following get added:

Warning
This is an "abstract" class and shouldn't be used directly, but intead through one of its subclasses

Hierarchy

Overview

Properties

Public property damage: integer read _damage;

Description

Properties

Public property damage: integer read _damage;

Read-only Integer-property containing the damage the weapon adds.


Generated by PasDoc 0.16.0.