YAPOG  0.0.1
Yet Another Pokemon Online Game
ycl::EndWildBattlePhase Class Reference

#include <EndWildBattlePhase.hpp>

Inheritance diagram for ycl::EndWildBattlePhase:
Collaboration diagram for ycl::EndWildBattlePhase:

List of all members.

Public Member Functions

 EndWildBattlePhase (Battle &battle)
virtual ~EndWildBattlePhase ()
BattlePhase members.
virtual void HandleStart (yap::PhaseArgs *args)
virtual void HandleUpdate (const yap::Time &dt)
virtual void HandleEnd ()
- Public Member Functions inherited from ycl::EndBattlePhase
 EndBattlePhase (Battle &battle)
virtual ~EndBattlePhase ()
virtual void Draw (yap::IDrawingContext &context)
virtual bool IsVisible () const
virtual void Show (bool isVisible)
virtual void ChangeColor (const sf::Color &color)
- Public Member Functions inherited from yap::EndBattlePhase
 EndBattlePhase (Battle &battle)
- 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 ()
- Public Member Functions inherited from yap::IDrawable
virtual ~IDrawable ()

Protected Member Functions

virtual void HandleDraw (yap::IDrawingContext &context)
virtual void HandleShow (bool isVisible)
virtual void HandleChangeColor (const sf::Color &color)

Protected Attributes

bool isVisible_
sf::Color color_
- Protected Attributes inherited from ycl::EndBattlePhase

Static Protected Attributes

static const bool DEFAULT_VISIBLE_STATE = true
static const sf::Color DEFAULT_COLOR = sf::Color ()
- Static Protected Attributes inherited from ycl::EndBattlePhase

Detailed Description

Definition at line 18 of file EndWildBattlePhase.hpp.


Constructor & Destructor Documentation

ycl::EndWildBattlePhase::EndWildBattlePhase ( Battle battle)

Definition at line 11 of file EndWildBattlePhase.cpp.

ycl::EndWildBattlePhase::~EndWildBattlePhase ( )
virtual

Definition at line 16 of file EndWildBattlePhase.cpp.


Member Function Documentation

void ycl::EndWildBattlePhase::HandleChangeColor ( const sf::Color &  color)
protectedvirtual

Reimplemented from ycl::EndBattlePhase.

Definition at line 42 of file EndWildBattlePhase.cpp.

void ycl::EndWildBattlePhase::HandleDraw ( yap::IDrawingContext context)
protectedvirtual

Reimplemented from ycl::EndBattlePhase.

Definition at line 34 of file EndWildBattlePhase.cpp.

void ycl::EndWildBattlePhase::HandleEnd ( )
virtual

Reimplemented from ycl::EndBattlePhase.

Definition at line 29 of file EndWildBattlePhase.cpp.

void ycl::EndWildBattlePhase::HandleShow ( bool  isVisible)
protectedvirtual

Reimplemented from ycl::EndBattlePhase.

Definition at line 38 of file EndWildBattlePhase.cpp.

void ycl::EndWildBattlePhase::HandleStart ( yap::PhaseArgs args)
virtual

Reimplemented from ycl::EndBattlePhase.

Definition at line 20 of file EndWildBattlePhase.cpp.

void ycl::EndWildBattlePhase::HandleUpdate ( const yap::Time dt)
virtual

Reimplemented from ycl::EndBattlePhase.

Definition at line 25 of file EndWildBattlePhase.cpp.


Member Data Documentation

sf::Color ycl::EndWildBattlePhase::color_
protected

Reimplemented from ycl::EndBattlePhase.

Definition at line 41 of file EndWildBattlePhase.hpp.

const sf::Color ycl::EndWildBattlePhase::DEFAULT_COLOR = sf::Color ()
staticprotected

Reimplemented from ycl::EndBattlePhase.

Definition at line 38 of file EndWildBattlePhase.hpp.

const bool ycl::EndWildBattlePhase::DEFAULT_VISIBLE_STATE = true
staticprotected

Reimplemented from ycl::EndBattlePhase.

Definition at line 37 of file EndWildBattlePhase.hpp.

bool ycl::EndWildBattlePhase::isVisible_
protected

Reimplemented from ycl::EndBattlePhase.

Definition at line 40 of file EndWildBattlePhase.hpp.


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