pub fn new_id(&mut self, flag_highest: bool) -> u16 {
		self.counter += 1;
		let mut id = self.counter;
		if flag_highest {
			id |= 1 << 15;
		}
		return id;
	}
// Create new ID  with optional highest bit flagging
Create new ID  with optional highest bit flagging
Create new ID with optional highest bit flagging
pub fn new_id(&mut self, flag_highest: bool) -> u16 {
		self.counter += 1;
		let mut id = self.counter;
		if flag_highest {
			id |= 1 << 15;
		}
		return id;
	}
pub fn new_id ( & mut self , flag_highest : bool ) -> u16 { self . counter += 1 ; let mut id = self . counter ; if flag_highest { id |= 1 << 15 ; } return id ; }
Create new ID  with optional highest bit flagging
Create new ID with optional highest bit flagging
&mut self
flag_highest
bool