![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
Switches to the next frame at each game loop cycle. More...
#include <AnyFrameSwitcher.hpp>
Public Member Functions | |
| AnyFrameSwitcher () | |
| AnyFrameSwitcher (int switchCount) | |
| virtual | ~AnyFrameSwitcher () |
ICloneable members. | |
| virtual AnyFrameSwitcher * | Clone () const |
Public Member Functions inherited from yap::FrameSwitcher | |
| virtual | ~FrameSwitcher () |
| int | FrameIsOver (const Time &dt) |
| Indicates how many frames have to be switched. | |
Public Member Functions inherited from yap::ICloneable | |
| virtual | ~ICloneable () |
Protected Member Functions | |
| AnyFrameSwitcher (const AnyFrameSwitcher ©) | |
Protected Member Functions inherited from yap::FrameSwitcher | |
| FrameSwitcher () | |
Private Member Functions | |
| DISALLOW_ASSIGN (AnyFrameSwitcher) | |
| virtual int | HandleFrameIsOver (const Time &dt) |
Private Attributes | |
| int | switchCount_ |
Static Private Attributes | |
| static const int | DEFAULT_SWITCH_COUNT = 1 |
Switches to the next frame at each game loop cycle.
Definition at line 10 of file AnyFrameSwitcher.hpp.
| yap::AnyFrameSwitcher::AnyFrameSwitcher | ( | ) |
|
explicit |
Definition at line 13 of file AnyFrameSwitcher.cpp.
|
virtual |
Definition at line 19 of file AnyFrameSwitcher.cpp.
|
protected |
Definition at line 23 of file AnyFrameSwitcher.cpp.
|
virtual |
Implements yap::FrameSwitcher.
Definition at line 29 of file AnyFrameSwitcher.cpp.
|
private |
|
privatevirtual |
Implements yap::FrameSwitcher.
Definition at line 34 of file AnyFrameSwitcher.cpp.
|
staticprivate |
Definition at line 33 of file AnyFrameSwitcher.hpp.
|
private |
Definition at line 35 of file AnyFrameSwitcher.hpp.