Ejemplo n.º 1
0
 public Player(int _index, PlayerColour _colour, string _playerName, Faction _race, PlayerType _type, PlayerTeam _team)
 {
     index       = _index;
     colour      = _colour;
     playerName  = _playerName;
     race        = _race;
     type        = _type;
     team        = _team;
     playerScore = 0;
     playerUnits = new List <Unit>();
 }
Ejemplo n.º 2
0
 bool FilterAlly(PlayerTeam team)
 {
     return(ally && thisAbility.owner.GetMyOwner().team == team);
 }
Ejemplo n.º 3
0
 bool FilterEnemy(PlayerTeam team)
 {
     return(enemy && thisAbility.owner.GetMyOwner().team != team);
 }
Ejemplo n.º 4
0
 public bool FilterTeam(PlayerTeam team)
 {
     return(FilterAlly(team) || FilterEnemy(team));
 }