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

#include <CharacterMoveController.hpp>

Inheritance diagram for yap::CharacterMoveController:
Collaboration diagram for yap::CharacterMoveController:

List of all members.

Public Member Functions

 CharacterMoveController ()
virtual ~CharacterMoveController ()
void EnableDirection (Direction direction)
void DisableDirection (Direction direction)
- Public Member Functions inherited from yap::WorldObjectMoveController
virtual ~WorldObjectMoveController ()
const Vector2GetForce () const
void SetValue (const Vector2 &value)

Private Member Functions

 DISALLOW_COPY (CharacterMoveController)
void Update ()

Private Attributes

collection::Map< Direction, bool > directions_
Direction lastDirection_

Static Private Attributes

static const Direction DEFAULT_LAST_DIRECTION

Additional Inherited Members

- Protected Member Functions inherited from yap::WorldObjectMoveController
 WorldObjectMoveController ()
- Protected Attributes inherited from yap::WorldObjectMoveController
Vector2 force_
Vector2 value_

Detailed Description

Definition at line 11 of file CharacterMoveController.hpp.


Constructor & Destructor Documentation

yap::CharacterMoveController::CharacterMoveController ( )

Definition at line 8 of file CharacterMoveController.cpp.

Here is the call graph for this function:

yap::CharacterMoveController::~CharacterMoveController ( )
virtual

Definition at line 19 of file CharacterMoveController.cpp.


Member Function Documentation

void yap::CharacterMoveController::DisableDirection ( Direction  direction)

Definition at line 32 of file CharacterMoveController.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

yap::CharacterMoveController::DISALLOW_COPY ( CharacterMoveController  )
private
void yap::CharacterMoveController::EnableDirection ( Direction  direction)

Definition at line 23 of file CharacterMoveController.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::CharacterMoveController::Update ( )
private

Definition at line 39 of file CharacterMoveController.cpp.

Here is the caller graph for this function:


Member Data Documentation

const Direction yap::CharacterMoveController::DEFAULT_LAST_DIRECTION
staticprivate
Initial value:

Definition at line 27 of file CharacterMoveController.hpp.

collection::Map<Direction, bool> yap::CharacterMoveController::directions_
private

Definition at line 29 of file CharacterMoveController.hpp.

Direction yap::CharacterMoveController::lastDirection_
private

Definition at line 30 of file CharacterMoveController.hpp.


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