private void OnTriggerUpdateMapSquare(object sender, SquareChangedEventArgs evt) { if (evt?.MapSquare != null) { UpdateMapSquares(new[] { evt.MapSquare }); } }
protected virtual void OnSquareChanged(SquareChangedEventArgs args) { SquareChanged?.Invoke(this, args); }