public FacingCoordinateUpdateFlag([NotNull] IFacingState state) { State = state ?? throw new ArgumentNullException(nameof(state)); }
public FacingDirectionMessage([NotNull] IFacingState facingState) { FacingState = facingState ?? throw new ArgumentNullException(nameof(facingState)); }
public void SetFacingDirection([NotNull] IFacingState state) { FacingState = state ?? throw new ArgumentNullException(nameof(state)); Parent.SendMessage(new FacingDirectionMessage(state)); }