class Shield

Represents a basic shield. More...

Definition#include <armour.h>
InheritsInventoryItem
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

Represents a basic shield. 'Attaches' to an Armour object whose AC it modifies.

Shield ()

Creates an unattached shield

Shield (PArmour at)

Creates a shield attached to Armour at

~Shield ()
[virtual]

Detaches the shield before deletion

void attach (PArmour at)

Attaches the shield to Armour at

void detach ()

Detaches the shield from its attached Armour

InventoryType getType ()
[virtual]

Returns the inventory type