refactor: delegate names updated to have no "On" prefix
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user