-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcharacters.h
64 lines (52 loc) · 1.09 KB
/
characters.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//
// Created by Mathi on 6/18/2024.
//
#ifndef CLUEDO_CHARACTERS_H
#define CLUEDO_CHARACTERS_H
typedef enum {
MOUTARDE, OLIVE, VIOLET, PERVENCHE, ROSE, LEBLANC
} CharactersName;
typedef enum {
HALL, BAR, SALLE_A_MANGER, CUISINE, SALLE_DE_BALLE, CONSERVATOIRE, BILLIARD, BIBLIOTHEQUE, BUREAU
} RoomsName;
typedef enum {
POIGNARD, CHANDELIER, REVOLVER, CORDE, BARRE_DE_FER, CLE_A_MOLETTE
} Weapons;
typedef struct {
int posXOut;
int posYOut;
int posXIn;
int posYIn;
} Doors;
typedef struct {
int posX;
int posY;
} Position;
typedef struct {
RoomsName room1;
RoomsName room2;
} SecretWay;
typedef struct {
RoomsName name;
Doors* allDoors;
SecretWay* secretWay;
Position* roomPosition;
int roomPosLogSize;
int numberOfDoors;
} Room;
typedef struct {
CharactersName name;
RoomsName room;
Weapons weapons;
} Killer;
typedef struct {
int* playerCards;
int numberOfCard;
} Card;
typedef struct {
CharactersName name;
Position playerPos;
int roomIndexIn;
Card* Card;
} Player;
#endif //CLUEDO_CHARACTERS_H