ScummVM API documentation
Ultima::Ultima1::Armour Class Reference

#include <party.h>

Inheritance diagram for Ultima::Ultima1::Armour:
Ultima::Shared::Armour Ultima::Shared::Itemized

Public Member Functions

 Armour (Ultima1Game *game, Character *c, ArmorType armorType)
 
void changeQuantity (int delta) override
 
uint getBuyCost () const
 
uint getSellCost () const
 
- Public Member Functions inherited from Ultima::Shared::Itemized
 Itemized ()
 
virtual ~Itemized ()
 
void synchronize (Common::Serializer &s)
 
void incrQuantity ()
 
bool empty () const
 
bool decrQuantity ()
 

Additional Inherited Members

- Public Attributes inherited from Ultima::Shared::Armour
Common::String _name
 
- Public Attributes inherited from Ultima::Shared::Itemized
uint _quantity
 

Detailed Description

Derived armor class

Constructor & Destructor Documentation

◆ Armour()

Ultima::Ultima1::Armour::Armour ( Ultima1Game game,
Character c,
ArmorType  armorType 
)

Constructor

Member Function Documentation

◆ changeQuantity()

void Ultima::Ultima1::Armour::changeQuantity ( int  delta)
inlineoverridevirtual

Change the quantity by a given amount

Reimplemented from Ultima::Shared::Itemized.

◆ getBuyCost()

uint Ultima::Ultima1::Armour::getBuyCost ( ) const

Gets how much the weapon can be bought for

◆ getSellCost()

uint Ultima::Ultima1::Armour::getSellCost ( ) const

Gets how much the weapon can sell for


The documentation for this class was generated from the following file: