#include <Modifiers.h>
Inheritance diagram for ogs::core::Event:


Public Types | |
| enum | Type { ADDED, REMOVED, CHANGED } |
| The type of event that happened. More... | |
Public Member Functions | |
| Modifier::Value | getPreviousValue () const |
| Determine previous value of this list of modifiers. | |
| Type | getType () const |
| Determine the type of this event. | |
| Modifier & | getModifier () const |
| Determine the modifier described by the type of this event. | |
Protected Member Functions | |
| Event (Modifiers &modifiers, Type type, Modifier &modifier) | |
| Create a new modifier list event. | |
Friends | |
| void | Modifiers::addModifier (Modifier &modifier) |
| void | Modifiers::removeModifier (Modifier &modifier) |
| void | Modifiers::handleEvent (ogs::support::Event &event) |
|
|
|
|
||||||||||||||||
|
|
|
|
The type of modifier event can be determined using the getType() function.
|
|
|
|
|
|
The modifier that caused this type of event can be determined using the getModifier() function.
|
1.3