public TeamLayer(enTeam flag) { flags = (enTeam)flag; }
public TeamLayer setEnemyTeam(int num) { flags = (enTeam)(1 << ((int)enTeamShift.enemy + num)); return(this); }
public TeamLayer(uint _flags) { flags = (enTeam)_flags; }
public TeamLayer setPlayerTeam(int num) { flags = (enTeam)(1 << ((int)enTeamShift.player + num)); return(this); }