YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::GameInput Class Reference

Represents a game input action of the player. More...

#include <GameInput.hpp>

Collaboration diagram for yap::GameInput:

List of all members.

Public Member Functions

 GameInput (GameInputType type, GameInputEntry *entry)
 ~GameInput ()
void AddEntry (GameInputEntry *entry)
bool IsActive () const
bool IsActivated () const
bool IsDeactivated () const
bool IsActive (const GuiEvent &guiEvent) const
bool IsActivated (const GuiEvent &guiEvent) const
bool IsDeactivated (const GuiEvent &guiEvent) const
void BeginUpdate ()
void Update (const GuiEvent &guiEvent)
void EndUpdate ()
GameInputType GetType () const

Private Member Functions

 DISALLOW_COPY (GameInput)

Private Attributes

GameInputType type_
collection::List
< GameInputEntry * > 
entries_

Detailed Description

Represents a game input action of the player.

Definition at line 12 of file GameInput.hpp.


Constructor & Destructor Documentation

yap::GameInput::GameInput ( GameInputType  type,
GameInputEntry entry 
)

Definition at line 5 of file GameInput.cpp.

Here is the call graph for this function:

yap::GameInput::~GameInput ( )

Definition at line 12 of file GameInput.cpp.


Member Function Documentation

void yap::GameInput::AddEntry ( GameInputEntry entry)

Definition at line 18 of file GameInput.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::GameInput::BeginUpdate ( )

Definition at line 77 of file GameInput.cpp.

yap::GameInput::DISALLOW_COPY ( GameInput  )
private
void yap::GameInput::EndUpdate ( )

Definition at line 89 of file GameInput.cpp.

GameInputType yap::GameInput::GetType ( ) const

Definition at line 95 of file GameInput.cpp.

Here is the caller graph for this function:

bool yap::GameInput::IsActivated ( ) const

Definition at line 32 of file GameInput.cpp.

bool yap::GameInput::IsActivated ( const GuiEvent guiEvent) const

Definition at line 59 of file GameInput.cpp.

bool yap::GameInput::IsActive ( ) const

Definition at line 23 of file GameInput.cpp.

bool yap::GameInput::IsActive ( const GuiEvent guiEvent) const

Definition at line 50 of file GameInput.cpp.

bool yap::GameInput::IsDeactivated ( ) const

Definition at line 41 of file GameInput.cpp.

bool yap::GameInput::IsDeactivated ( const GuiEvent guiEvent) const

Definition at line 68 of file GameInput.cpp.

void yap::GameInput::Update ( const GuiEvent guiEvent)

Definition at line 83 of file GameInput.cpp.


Member Data Documentation

collection::List<GameInputEntry*> yap::GameInput::entries_
private

Definition at line 41 of file GameInput.hpp.

GameInputType yap::GameInput::type_
private

Definition at line 39 of file GameInput.hpp.


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