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

#include <EndTurnPhase.hpp>

Inheritance diagram for yap::EndTurnPhase:
Collaboration diagram for yap::EndTurnPhase:

List of all members.

Public Member Functions

 EndTurnPhase (Battle &battle)
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 ()

Additional Inherited Members

- Protected Member Functions inherited from yap::BattlePhase
BattleGetBattle ()
- Protected Attributes inherited from yap::BattlePhase
BattlePhaseState state_
BattlePhaseState previousPhase_

Detailed Description

Definition at line 11 of file EndTurnPhase.hpp.


Constructor & Destructor Documentation

yap::EndTurnPhase::EndTurnPhase ( Battle battle)

Definition at line 6 of file EndTurnPhase.cpp.


Member Function Documentation

void yap::EndTurnPhase::HandleEnd ( )
virtual

Reimplemented from yap::BattlePhase.

Reimplemented in ycl::EndTurnPhase.

Definition at line 22 of file EndTurnPhase.cpp.

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

Reimplemented from yap::BattlePhase.

Reimplemented in ycl::EndTurnPhase.

Definition at line 11 of file EndTurnPhase.cpp.

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

Reimplemented from yap::BattlePhase.

Reimplemented in ycl::EndTurnPhase.

Definition at line 17 of file EndTurnPhase.cpp.

Here is the call graph for this function:


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