File: entity_type.h

package info (click to toggle)
epiphany 0.7.0+0-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 7,532 kB
  • sloc: cpp: 6,404; ansic: 141; makefile: 78; sh: 7
file content (63 lines) | stat: -rw-r--r-- 1,894 bytes parent folder | download | duplicates (6)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/***************************************************************************
                          entity_type.h  -  description
                             -------------------
    begin                : Fri Aug 31 2001
    copyright            : (C) 2001 by Giuseppe D'Aqu�
    email                : kumber@tiscalinet.it
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License, Version 2, as published by  *
 *   the Free Software Foundation.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef ENTITY_TYPE_H
#define ENTITY_TYPE_H

//All types of entities in game
enum Entity_Type{	UNKNOWN=0,
									PLAYER=1,
									GRASS=2,
									STEEL=3,
									EMERALD=4,
									BOULDER=5,
									SAPPHIRE=6,
									EXIT=7,
									EXPLOSION=8,
									DOOR=9,
									DOOR_RED=9,
									DOOR_BLUE=10,
									DOOR_GREEN=11,
									DOOR_YELLOW=12,
									KEY=13,
									KEY_RED=13,
									KEY_BLUE=14,
									KEY_GREEN=15,
									KEY_YELLOW=16,
									FLINTSTONE=17,
									PEPERON=18,
									PEPERON_UP=18,
									PEPERON_RIGHT=19,
									PEPERON_DOWN=20,
									PEPERON_LEFT=21,
									BRICK=22,
									WOOD=23,
									TOMATO=24,
									TOMATO_UP=24,
									TOMATO_RIGHT=25,
									TOMATO_DOWN=26,
									TOMATO_LEFT=27
									};
									
enum Entity_State{	STOPPED,
					MOVING_UP,
					MOVING_RIGHT,
					MOVING_LEFT,
					MOVING_DOWN,
					DYING
};

#endif //ENTITY_TYPE_H