YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::IPlayer Struct Reference

Interface representing the actions that a player can perform. More...

#include <IPlayer.hpp>

Inheritance diagram for yap::IPlayer:
Collaboration diagram for yap::IPlayer:

List of all members.

Public Member Functions

virtual ~IPlayer ()
virtual void Accept (IDynamicWorldObjectVisitor &visitor)=0
virtual void Accept (IDynamicWorldObjectConstVisitor &visitor) const =0
virtual const StringGetName () const =0
virtual bool HasInput (GameInputType gameInputType) const =0
virtual void Warp (const ID &mapWorldID, const Vector2 &point)=0
virtual void DestroyObject (const ID &objectWorldID)=0
virtual void TriggerBattle ()=0
virtual Event
< DynamicWorldObject &, const
Vector2 & > & 
OnMovedEvent ()=0

Detailed Description

Interface representing the actions that a player can perform.

Definition at line 17 of file IPlayer.hpp.


Constructor & Destructor Documentation

virtual yap::IPlayer::~IPlayer ( )
inlinevirtual

Definition at line 19 of file IPlayer.hpp.


Member Function Documentation

virtual void yap::IPlayer::Accept ( IDynamicWorldObjectVisitor visitor)
pure virtual

Implemented in yse::Player, and ycl::Player.

virtual void yap::IPlayer::Accept ( IDynamicWorldObjectConstVisitor visitor) const
pure virtual

Implemented in yse::Player, and ycl::Player.

virtual void yap::IPlayer::DestroyObject ( const ID objectWorldID)
pure virtual

Implemented in yse::Player, and ycl::Player.

Here is the caller graph for this function:

virtual const String& yap::IPlayer::GetName ( ) const
pure virtual

Implemented in yse::Player, and ycl::Player.

Here is the caller graph for this function:

virtual bool yap::IPlayer::HasInput ( GameInputType  gameInputType) const
pure virtual

Here is the caller graph for this function:

virtual Event<DynamicWorldObject&, const Vector2&>& yap::IPlayer::OnMovedEvent ( )
pure virtual

Implemented in yse::Player, and ycl::Player.

Here is the caller graph for this function:

virtual void yap::IPlayer::TriggerBattle ( )
pure virtual
Todo:
Battle triggering management.

Implemented in yse::Player, and ycl::Player.

Here is the caller graph for this function:

virtual void yap::IPlayer::Warp ( const ID mapWorldID,
const Vector2 point 
)
pure virtual

Implemented in yse::Player, and ycl::Player.

Here is the caller graph for this function:


The documentation for this struct was generated from the following file: