Exemplo n.º 1
0
 public void AddAlly(Faction otherFaction)
 {
     AddAllyInt(this, otherFaction);
     AddAllyInt(otherFaction, this);
 }
Exemplo n.º 2
0
 public void AddEnemy(Faction otherFaction)
 {
     AddEnemyInt(this, otherFaction);
     AddEnemyInt(otherFaction, this);
 }
Exemplo n.º 3
0
 public bool AreAlliesWith(Faction otherFaction)
 {
     return(AlliesWith.Contains(otherFaction));
 }
Exemplo n.º 4
0
 public bool CanBeAttacked(Faction otherFaction)
 {
     return(AreEnemiesWith(otherFaction) || !AreAlliesWith(otherFaction));
 }
Exemplo n.º 5
0
 public bool AreEnemiesWith(Faction otherFaction)
 {
     return(EnemiesWith.Contains(otherFaction));
 }