mirror of
https://gitlab.com/klmp200/LO41.git
synced 2025-07-17 23:29:25 +00:00
Condition de fin des elevators
This commit is contained in:
@ -12,8 +12,8 @@
|
||||
typedef enum {RESIDENT, VISITOR} PASSENGER_TYPE;
|
||||
|
||||
typedef struct o_Passenger {
|
||||
PASSENGER_TYPE type;
|
||||
union {
|
||||
PUBLIC PASSENGER_TYPE type;
|
||||
PUBLIC union {
|
||||
Resident * resident;
|
||||
Visitor * visitor;
|
||||
};
|
||||
|
Reference in New Issue
Block a user