aboutsummaryrefslogtreecommitdiff
path: root/src/test/philo.py
blob: c103bece0f099e8bd3b83a9a0acb4a6abc8e37fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ############################################################################ #
#                                                                              #
#                                                         :::      ::::::::    #
#    philo.py                                           :+:      :+:    :+:    #
#                                                     +:+ +:+         +:+      #
#    By: charles <me@cacharle.xyz>                  +#+  +:+       +#+         #
#                                                 +#+#+#+#+#+   +#+            #
#    Created: 2020/09/27 12:54:12 by charles           #+#    #+#              #
#    Updated: 2020/09/27 12:59:50 by charles          ###   ########.fr        #
#                                                                              #
# ############################################################################ #

class Philo:
    def __init__(id_: int):
        self.id = id_
        self.last_event = None
        self.last_eat_date = None

    def add_log(self, match):
        pass

    def check(self):
        return True