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

ogs::feats::ImprovedInitiative Class Reference

A feat that adds a +4 bonus to initiative rolls.

#include <ImprovedInitiative.h>

Inheritance diagram for ogs::feats::ImprovedInitiative:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ImprovedInitiative ()
 Create a new Improved Initiative feat.

bool attachObject (Object &object)
 Attach this Improved Initiative feat to a creature.

bool detachObject ()
 Detach this Improved Initiative feat from a creature.

ogs::core::Feat::Compatibility getCompatibility () const
 Determine the compatability of this feat.

ogs::core::Feat::Group getGroup () const
 Determine the group that this feat belongs to.


Member Function Documentation

bool ImprovedInitiative::attachObject Object &  object  )  [virtual]
 

Parameters:
object Creature to attach Improved Initiative to.
Returns:
True if feat is attached to creature.

Reimplemented from ogs::core::Feature.

bool ImprovedInitiative::detachObject  )  [virtual]
 

Returns:
True if feat is detached from creature.

Reimplemented from ogs::core::Feature.

ogs::core::Feat::Compatibility ogs::feats::ImprovedInitiative::getCompatibility  )  const [inline]
 

Improved Initiative feats are exclusive feats.

Returns:
Feat::EXCLUSIVE

Reimplemented from ogs::core::Feat.

ogs::core::Feat::Group ogs::feats::ImprovedInitiative::getGroup  )  const [inline]
 

Improved Initiative feats are general feats.

Returns:
Feat::GENERAL

Reimplemented from ogs::core::Feat.


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