1
0
mirror of https://gitlab.com/klmp200/LO41.git synced 2025-07-11 20:29:24 +00:00

Normalement maintenant ça compile mieux

This commit is contained in:
2018-06-06 01:15:23 +02:00
parent 6ab2711c9c
commit 0fd63b47dd
13 changed files with 84 additions and 11 deletions

4
Building/Building.c Normal file
View File

@ -0,0 +1,4 @@
//
// Created by Antoine Bartuccio on 05/06/2018.
//
#include "Building.h"

23
Building/Building.h Normal file
View File

@ -0,0 +1,23 @@
//
// Created by Antoine Bartuccio on 05/06/2018.
//
#ifndef LO41_BUILDING_H
#define LO41_BUILDING_H
#define ELEVATOR_NB 3
#include "../Objects.h"
#include "../List/List.h"
#include "../Elevator/Elevator.h"
#include "../CommunicationBox/CommunicationBox.h"
typedef struct o_Building {
int floors;
List * residents;
CommunicationBox * box;
Elevator elevators[ELEVATOR_NB];
} Building;
#endif //LO41_BUILDING_H