YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
DelayedFrameSwitcher.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_DELAYEDFRAMESWITCHER_HPP
2
# define YAPOG_DELAYEDFRAMESWITCHER_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/Game/Sprite/FrameSwitcher.hpp
"
6
# include "
YAPOG/System/Time/Time.hpp
"
7
# include "
YAPOG/System/Time/UpdateableTimer.hpp
"
8
9
namespace
yap
10
{
11
class
YAPOG_LIB
DelayedFrameSwitcher
:
public
FrameSwitcher
12
{
13
DISALLOW_ASSIGN
(
DelayedFrameSwitcher
);
14
15
public
:
16
17
explicit
DelayedFrameSwitcher
(
const
Time
& delay);
18
virtual
~
DelayedFrameSwitcher
();
19
22
virtual
DelayedFrameSwitcher
* Clone ()
const
;
24
25
protected
:
26
27
DelayedFrameSwitcher
(
const
DelayedFrameSwitcher
& copy);
28
29
private
:
30
31
virtual
int
HandleFrameIsOver (
const
Time
& dt);
32
33
Time
delay_
;
34
UpdateableTimer
timer_
;
35
};
36
}
// namespace yap
37
38
#endif // YAPOG_DELAYEDFRAMESWITCHER_HPP
YAPOG
include
YAPOG
Graphics
Game
Sprite
DelayedFrameSwitcher.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1