Dragonfly 4.20
A text-based game engine
Color.h
1///
2/// Colors for Dragonfly
3///
4
5#ifndef __COLOR_H__
6#define __COLOR_H__
7
8namespace df {
9
10/// Colors Dragonfly recognizes.
11enum 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.
25const Color COLOR_DEFAULT = WHITE;
26
27} // end of namespace df
28#endif //__COLOR_H__
An animation for a sprite.
Definition: Animation.h:15
const Color COLOR_DEFAULT
If color not specified, will use this.
Definition: Color.h:25
Color
Colors Dragonfly recognizes.
Definition: Color.h:11