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:
4
Building/Building.c
Normal file
4
Building/Building.c
Normal file
@ -0,0 +1,4 @@
|
||||
//
|
||||
// Created by Antoine Bartuccio on 05/06/2018.
|
||||
//
|
||||
#include "Building.h"
|
23
Building/Building.h
Normal file
23
Building/Building.h
Normal 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
|
Reference in New Issue
Block a user