예제 #1
0
 void _UnlockProperty(GraphicEntityMutexFlag flag)
 {
     mutex ^= flag;
     // if every other property is released, graphic entity
     // can be deleted as well
     if (mutex == GraphicEntityMutexFlag.Existence)
     {
         mutex = GraphicEntityMutexFlag.None;
     }
 }
예제 #2
0
 void _LockProperty(GraphicEntityMutexFlag flag)
 {
     //
     mutex |= flag | GraphicEntityMutexFlag.Existence;
 }