ScummVM API documentation
Ultima::Ultima4::Armor Class Reference

Public Member Functions

ArmorType getType () const
 
const Common::StringgetName () const
 
int getDefense () const
 
bool canWear (ClassType klass) const
 

Member Function Documentation

◆ getType()

ArmorType Ultima::Ultima4::Armor::getType ( ) const
inline

< Returns the ArmorType of the armor

◆ getName()

const Common::String& Ultima::Ultima4::Armor::getName ( ) const
inline

< Returns the name of the armor

◆ getDefense()

int Ultima::Ultima4::Armor::getDefense ( ) const
inline

< Returns the defense value of the armor

◆ canWear()

bool Ultima::Ultima4::Armor::canWear ( ClassType  klass) const
inline

Returns true if the class given can wear the armor


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