mirror of
https://gitlab.com/klmp200/LO41.git
synced 2024-11-14 21:03:23 +00:00
28 lines
480 B
C
28 lines
480 B
C
//
|
|
// Created by Antoine Bartuccio on 06/06/2018.
|
|
//
|
|
|
|
#ifndef LO41_VISITOR_H
|
|
#define LO41_VISITOR_H
|
|
|
|
#include "../Objects.h"
|
|
|
|
typedef struct o_Visitor {
|
|
PRIVATE int id;
|
|
PRIVATE char * name;
|
|
PRIVATE int contact_id;
|
|
PRIVATE int position;
|
|
PRIVATE int destination;
|
|
|
|
PUBLIC char * (*get_name)(_THIS(Visitor));
|
|
PUBLIC int (*get_id)(_THIS(Visitor));
|
|
|
|
DESTRUCTOR(Visitor);
|
|
} Visitor;
|
|
|
|
FRIENDLY(name, Building)
|
|
|
|
Visitor *_init_Visitor(int id, char* name);
|
|
|
|
#endif //LO41_VISITOR_H
|