I know &= & |= are assignment for opreators, but when do I use what.
The question was related to hybrids source.
Example:
Why would it not be?
this.Entity.Spawn.StatusFlag &= ~StatusFlag.Dead;
or
this.Entity.Spawn.StatusFlag |= StatusFlag.Fly;
I tried look up at msdn, but didn't really get it.
Thank you.
The question was related to hybrids source.
Example:
Code:
this.Entity.Spawn.StatusFlag &= ~StatusFlag.Fly;
this.Entity.Spawn.StatusFlag |= StatusFlag.Dead;
this.Entity.Spawn.StatusFlag &= ~StatusFlag.Dead;
or
this.Entity.Spawn.StatusFlag |= StatusFlag.Fly;
I tried look up at msdn, but didn't really get it.
Thank you.