Пример #1
0
 public MansionConsoleRender(MansionEnv environment, MansionAgent agent)
 {
     _environment = environment;
     _agent       = agent;
 }
Пример #2
0
 /// <summary>
 /// Défini le nouvel agent du manoir (single-agent, donc supprimer potentiellement l'autre)
 /// </summary>
 public void SetAgent(Agent agent, Position initialPosition)
 {
     _agent              = (MansionAgent)agent;
     PositionAgent       = initialPosition;
     _performanceMeasure = new MansionPerformanceMeasure();
 }