-
Notifications
You must be signed in to change notification settings - Fork 0
/
DEFS.h
46 lines (37 loc) · 936 Bytes
/
DEFS.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef DEFS_H
#define DEFS_H
#include "CMUgraphicsLib\CMUgraphics.h"
// This file contains some global constants and definitions to be used in the project.
enum ActionType // The actions supported (add more as needed)
{
// [1] Actions of Design Mode
ADD_LADDER, // Add Ladder Action
ADD_SNAKE, // Add Snake Action
ADD_CARD, // Add Card Action
COPY_CARD,
CUT_CARD,
PASTE_CARD,
DELETE_GAME_OBJECT,
SAVE_GRID,
OPEN_GRID,
TO_PLAY_MODE, // Go to Play Mode
EXIT, // Exit Application
///TODO: Add more action types of Design Mode
// [2] Actions of Play Mode
ROLL_DICE, // Roll Dice Action
INPUT_DICE_VALUE,
NEW_GAME,
TO_DESIGN_MODE, // Go to Design Mode
///TODO: Add more action types of Play Mode
// [3] Others
EMPTY, // Empty Area in ToolBar (NOT inside any action icon)
GRID_AREA, // Inside Grid Area
STATUS // Inside StatusBar Area
};
enum Object_Type
{
ladder,
snake,
card
};
#endif