Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

ogs::feats::AllWeapons Class Reference

A weapon proficiency for all weapons of one group. More...

#include <AllWeapons.h>

Inheritance diagram for ogs::feats::AllWeapons:

Inheritance graph
[legend]
Collaboration diagram for ogs::feats::AllWeapons:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool isProficient (const ogs::items::Weapon &weapon) const
 Determine if a weapon is a proficient weapon.


Static Public Member Functions

AllWeapons * createSimple ()
 Create a new Simple Weapons Proficiency feat.

AllWeapons * createMartial ()
 Create a new Martial Weapons Proficiency feat.


Detailed Description

Simple Weapon Proficiency is a general feat that indicates that a creature is proficient with all simple weapons. Some cclasses are also proficient with all martial weapons. Exotic weapons can only be selected as single weapons. This class can be used instead of the SingleWeapon class to indicate that a creature is proficient with all weapons in one of these groups.

See also:
SingleWeapon


Member Function Documentation

AllWeapons * ogs::feats::AllWeapons::createMartial  )  [inline, static]
 

Returns:
A new Martial Weapons Proficiency feat.

AllWeapons * ogs::feats::AllWeapons::createSimple  )  [inline, static]
 

Returns:
A new Simple Weapons Proficiency feat.

bool ogs::feats::AllWeapons::isProficient const ogs::items::Weapon weapon  )  const [inline]
 

A proficient weapon is a weapon that a creature with this feat is proficient with. If this feat is not attached to a creature, the weapon is not a proficient weapon.

Returns:
True if weapon is a proficient weapon.


The documentation for this class was generated from the following files:
Generated on Sun Apr 20 03:39:26 2003 for Open Gaming System (OGS) by doxygen1.3