YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
IDrawable.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_IDRAWABLE_HPP
2
# define YAPOG_IDRAWABLE_HPP
3
4
# include <SFML/Graphics/Color.hpp>
5
6
# include "
YAPOG/Macros.hpp
"
7
8
namespace
yap
9
{
10
struct
IDrawingContext;
11
12
struct
IDrawable
13
{
14
virtual
~IDrawable
() {}
15
16
virtual
void
Draw
(
IDrawingContext
& context) = 0;
17
18
virtual
bool
IsVisible
()
const
= 0;
19
virtual
void
Show
(
bool
isVisible) = 0;
20
21
virtual
void
ChangeColor
(
const
sf::Color& color) = 0;
22
};
23
}
// namespace yap
24
25
#endif // YAPOG_IDRAWABLE_HPP
YAPOG
include
YAPOG
Graphics
IDrawable.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1