chore: updated engine

This commit is contained in:
2025-04-13 22:24:56 +03:00
parent 51854a3e59
commit 34aa4dbb69
13 changed files with 91 additions and 91 deletions

View File

@@ -28,7 +28,7 @@ public class MonoGameCamera2DBehaviour(GraphicsDeviceManager Graphics) : Behavio
return;
_matrixTransform = value;
OnMatrixTransformChanged?.Invoke(this);
OnMatrixTransformChanged?.InvokeSafe(this);
}
}
@@ -47,7 +47,7 @@ public class MonoGameCamera2DBehaviour(GraphicsDeviceManager Graphics) : Behavio
return;
_viewport = value;
OnViewportChanged?.Invoke(this);
OnViewportChanged?.InvokeSafe(this);
}
}
@@ -62,7 +62,7 @@ public class MonoGameCamera2DBehaviour(GraphicsDeviceManager Graphics) : Behavio
return;
_zoom = newValue;
OnZoomChanged?.Invoke(this);
OnZoomChanged?.InvokeSafe(this);
}
}