Ejemplo n.º 1
0
 public Player(string name, string playerName, bool isLiar)
 {
     character       = CharacterAbstractFactory.CreatePlayer(name);
     this.playerName = playerName;
     characterName   = name;
     agent           = new PIMCAgent(this, isLiar);
     isHuman         = false;
 }
Ejemplo n.º 2
0
 public void reinitializePlayer(string roleName)
 {
     character     = CharacterAbstractFactory.CreatePlayer(roleName);
     characterName = roleName;
     agent.reinitializeBeliefs();
 }