public TeleportMessage([NotNull] IPosition oldPos, [NotNull] IPosition newPos) { if (oldPos == null) { throw new ArgumentNullException(nameof(oldPos)); } if (newPos == null) { throw new ArgumentNullException(nameof(newPos)); } OldPos = oldPos.Copy(); NewPos = newPos.Copy(); }