Dragonfly
4.20
A text-based game engine
v4.20
include
Color.h
1
///
2
/// Colors for Dragonfly
3
///
4
5
#ifndef __COLOR_H__
6
#define __COLOR_H__
7
8
namespace
df
{
9
10
/// Colors Dragonfly recognizes.
11
enum
Color
{
12
UNDEFINED_COLOR = -1,
13
BLACK = 0,
14
RED,
15
GREEN,
16
YELLOW,
17
BLUE,
18
MAGENTA,
19
CYAN,
20
WHITE,
21
CUSTOM,
22
};
23
24
/// If color not specified, will use this.
25
const
Color
COLOR_DEFAULT
= WHITE;
26
27
}
// end of namespace df
28
#endif
//__COLOR_H__
df
An animation for a sprite.
Definition:
Animation.h:15
df::COLOR_DEFAULT
const Color COLOR_DEFAULT
If color not specified, will use this.
Definition:
Color.h:25
df::Color
Color
Colors Dragonfly recognizes.
Definition:
Color.h:11
Generated by
1.9.4