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

#include <BeginBattlePhase.hpp>

Inheritance diagram for yap::BeginBattlePhase:
Collaboration diagram for yap::BeginBattlePhase:

List of all members.

Public Member Functions

BattlePhase members.
virtual void HandleStart (PhaseArgs *args)
virtual void HandleUpdate (const Time &dt)
virtual void HandleEnd ()
- Public Member Functions inherited from yap::BattlePhase
 BattlePhase (Battle &battle, const BattlePhaseState &battlePhaseState)
const BattlePhaseStateGetNext () const
 Getters.
void Start (PhaseArgs *args)
void End ()
void SwitchPhase (BattlePhaseState nextPhase)
void SwitchPhase (BattlePhaseState nextPhase, PhaseArgs *args)
PhaseArgsGetPhaseArgs ()
void SetPreviousPhase (const BattlePhaseState &value)
virtual void Update (const Time &dt)
 Makes the object evolve for one frame of the game.
virtual void Visit (const ActionPhaseArgs &visitable)
- Public Member Functions inherited from yap::IUpdateable
virtual ~IUpdateable ()

Protected Member Functions

 BeginBattlePhase (Battle &battle)
 ~BeginBattlePhase ()
- Protected Member Functions inherited from yap::BattlePhase
BattleGetBattle ()

Private Member Functions

 DISALLOW_COPY (BeginBattlePhase)

Additional Inherited Members

- Protected Attributes inherited from yap::BattlePhase
BattlePhaseState state_
BattlePhaseState previousPhase_

Detailed Description

Definition at line 11 of file BeginBattlePhase.hpp.


Constructor & Destructor Documentation

yap::BeginBattlePhase::BeginBattlePhase ( Battle battle)
protected

Definition at line 6 of file BeginBattlePhase.cpp.

yap::BeginBattlePhase::~BeginBattlePhase ( )
protected

Reimplemented in ycl::BeginBattlePhase.

Definition at line 11 of file BeginBattlePhase.cpp.


Member Function Documentation

yap::BeginBattlePhase::DISALLOW_COPY ( BeginBattlePhase  )
private
void yap::BeginBattlePhase::HandleEnd ( )
virtual

Reimplemented from yap::BattlePhase.

Reimplemented in ycl::BeginWildBattlePhase, ycl::BeginTrainerBattlePhase, and ycl::BeginBattlePhase.

Definition at line 26 of file BeginBattlePhase.cpp.

void yap::BeginBattlePhase::HandleStart ( PhaseArgs args)
virtual

Reimplemented from yap::BattlePhase.

Reimplemented in ycl::BeginWildBattlePhase, ycl::BeginTrainerBattlePhase, and ycl::BeginBattlePhase.

Definition at line 15 of file BeginBattlePhase.cpp.

void yap::BeginBattlePhase::HandleUpdate ( const Time dt)
virtual

Reimplemented from yap::BattlePhase.

Reimplemented in ycl::BeginWildBattlePhase, ycl::BeginTrainerBattlePhase, and ycl::BeginBattlePhase.

Definition at line 21 of file BeginBattlePhase.cpp.


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