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

ogs::core::Event Class Reference

An event that describes the change(s) made to this ability. More...

#include <Ability.h>

Inheritance diagram for ogs::core::Event:

Inheritance graph
[legend]
Collaboration diagram for ogs::core::Event:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Ability::Score getPreviousScore () const
 Determine the previous ability score described by this event.


Friends

void Ability::handleEvent (ogs::support::Event &event)

Detailed Description

An ability event is much like a modifiers list event except that it also provides the previous score of the ability. Note that an ability modifier does not always change when the current score of an ability changes. For this reason, ability modifiers have their own events and observers. An ability event does not describe changes to ability modiiers.

Ability events must be created before any changes are made to the ability!


Member Function Documentation

Ability::Score ogs::core::Event::getPreviousScore  )  const [inline]
 

Returns:
Previous ability score.


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