Пример #1
0
 public TeamLayer(enTeam flag)
 {
     flags = (enTeam)flag;
 }
Пример #2
0
    public TeamLayer setEnemyTeam(int num)
    {
        flags = (enTeam)(1 << ((int)enTeamShift.enemy + num));

        return(this);
    }
Пример #3
0
 public TeamLayer(uint _flags)
 {
     flags = (enTeam)_flags;
 }
Пример #4
0
    public TeamLayer setPlayerTeam(int num)
    {
        flags = (enTeam)(1 << ((int)enTeamShift.player + num));

        return(this);
    }