Dragonfly  4.3
A text-based game engine
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__
const Color COLOR_DEFAULT
If color not specified, will use this.
Definition: Color.h:25
A 2-d bounding box.
Definition: Box.h:10
Color
Colors Dragonfly recognizes.
Definition: Color.h:11