Пример #1
0
 public Direction2D AddDirectionComponent(Direction2D directionComponent)
 {
     return(new Direction2D(this.AddDirectionComponent(directionComponent.value)));
 }
Пример #2
0
 public Direction2D RemoveDirectionComponent(Direction2D directionComponent)
 {
     return(new Direction2D(this.RemoveDirectionComponent(directionComponent.value)));
 }
Пример #3
0
 public bool ContainsDirection(Direction2D screenDirection)
 {
     return(this.value.ContainsAllFlags(screenDirection.value));
 }