refactor: delegate names updated to have no "On" prefix

This commit is contained in:
2025-03-29 21:51:51 +03:00
parent 5c3e0f6581
commit f9785462b0
30 changed files with 118 additions and 118 deletions

View File

@@ -5,9 +5,9 @@ namespace Syntriax.Engine.Core;
[System.Diagnostics.DebuggerDisplay("Name: {HierarchyObject.Name, nq} Position: {Position.ToString(), nq}, Scale: {Scale.ToString(), nq}, Rotation: {Rotation}")]
public class Transform2D : Behaviour, ITransform2D
{
public event ITransform2D.OnPositionChangedEventHandler? OnPositionChanged = null;
public event ITransform2D.OnScaleChangedEventHandler? OnScaleChanged = null;
public event ITransform2D.OnRotationChangedEventHandler? OnRotationChanged = null;
public event ITransform2D.PositionChangedEventHandler? OnPositionChanged = null;
public event ITransform2D.ScaleChangedEventHandler? OnScaleChanged = null;
public event ITransform2D.RotationChangedEventHandler? OnRotationChanged = null;
private Vector2D _position = Vector2D.Zero;
private Vector2D _scale = Vector2D.One;