ManaPlus
|
#include <awaylistener.h>
Public Member Functions | |
AwayListener () | |
void | action (const ActionEvent &event) |
Public Member Functions inherited from ActionListener | |
virtual | ~ActionListener () |
Additional Inherited Members | |
Protected Member Functions inherited from ActionListener | |
ActionListener () | |
Definition at line 29 of file awaylistener.h.
|
inline |
Definition at line 32 of file awaylistener.h.
|
virtual |
Called when an action is recieved from a widget. It is used to be able to recieve a notification that an action has occured.
actionEvent | The event of the action. |
Implements ActionListener.
Definition at line 37 of file awaylistener.cpp.
References Settings::awayMode, GameModifiers::changeAwayMode(), UpdateStatusListener::distributeEvent(), ActionEvent::getId(), localPlayer, outfitWindow, settings, OutfitWindow::unwearAwayOutfit(), and LocalPlayer::updateStatus().