ExitListener Class Reference

Handles exist. More...

#include <ExitListener.h>

Inheritance diagram for ExitListener:

ButtonListener Object

List of all members.

Public Member Functions

 ExitListener (Game *game)
void clicked ()
 A method to deal with action events.
string toString () const
 Returns a textual representation.
string className () const
 Returns the class name of the object.
enum classId classId () const
 Returns the class id of the object.

Private Attributes

Gamegame


Detailed Description

Handles exist.

Shuts down the game


Constructor & Destructor Documentation

ExitListener::ExitListener ( Game game  ) 


Member Function Documentation

void ExitListener::clicked (  )  [virtual]

A method to deal with action events.

Every ButtonListener must implement this method to receive and process action events. Those will usually be sent by the MouseListener which calls this method.

See also:
MouseListener

Implements ButtonListener.

string ExitListener::toString (  )  const [virtual]

Returns a textual representation.

Implements ButtonListener.

string ExitListener::className (  )  const [virtual]

Returns the class name of the object.

Implements ButtonListener.

enum classId ExitListener::classId (  )  const [virtual]

Returns the class id of the object.

Implements ButtonListener.


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Mon Jul 7 13:30:33 2008 for Firefly by  doxygen 1.5.6