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