from parametres import Parametres
import random


class Agent_TA :

    def __init__(self,heures,cash) :
        self.heures = heures
        self.cash = cash
      
        
def obtenir_liste_agents_TA(heures,cash) :
    liste_agents_TA = []
    for a in range (int(parametres.nb_agents_TA)) :
        agent_TA = Agent_TA(heures,cash)
        liste_agents_TA.append(agent_TA)
    return liste_agents_TA
    
    
def obtenir_liste_cash_agents_TA(liste_agents_TA) :
    liste_cash_agents_TA = []
    for i in liste_agents_TA :
        liste_cash_agents_TA.append(i.cash)
    return liste_cash_agents_TA
        
    
 
    