Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

WorldInput Class Reference

Inheritance diagram for WorldInput:

Inheritance graph
[legend]
Collaboration diagram for WorldInput:

Collaboration graph
[legend]

Detailed Description

Handle input for worldmap.

Definition at line 12 of file WorldInput.h.

Public Member Functions

 WorldInput (WorldMap *world)
virtual void mouseEvent (const MouseStroke &buttons)

Protected Member Functions

virtual void enableSubtitles ()
virtual void enableHelp ()
 Push help screen at top.


Constructor & Destructor Documentation

WorldInput::WorldInput WorldMap world  ) 
 

Definition at line 18 of file WorldInput.cpp.

00019     : GameInput(world)
00020 {
00021     //TODO: 'O' ... options, 'I' ... intro, 'E' ... exit, 'C' ... credits
00022 }


Member Function Documentation

virtual void WorldInput::enableHelp  )  [inline, protected, virtual]
 

Push help screen at top.

Reimplemented from GameInput.

Definition at line 17 of file WorldInput.h.

00017 {}

virtual void WorldInput::enableSubtitles  )  [inline, protected, virtual]
 

Reimplemented from StateInput.

Definition at line 16 of file WorldInput.h.

00016 {}

void WorldInput::mouseEvent const MouseStroke buttons  )  [virtual]
 

Reimplemented from InputHandler.

Definition at line 31 of file WorldInput.cpp.

00032 {
00033     if (buttons.isLeft()) {
00034         getWorld()->runSelected();
00035     }
00036 }


The documentation for this class was generated from the following files:
Generated on Wed Jun 1 09:57:25 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2