fix: DebuggerDisplay Wrongly Typed Parameters
This commit is contained in:
parent
6a104d8abd
commit
69eca44dd8
|
@ -7,7 +7,7 @@ using Syntriax.Engine.Core.Abstract;
|
||||||
|
|
||||||
namespace Syntriax.Engine.Core;
|
namespace Syntriax.Engine.Core;
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerDisplay("Behaviour Count: {behaviours.Count()}")]
|
[System.Diagnostics.DebuggerDisplay("Behaviour Count: {behaviours.Count}")]
|
||||||
public class BehaviourController : IBehaviourController
|
public class BehaviourController : IBehaviourController
|
||||||
{
|
{
|
||||||
public Action<IBehaviourController>? OnPreUpdate { get; set; }
|
public Action<IBehaviourController>? OnPreUpdate { get; set; }
|
||||||
|
|
|
@ -8,7 +8,7 @@ using Syntriax.Engine.Core.Factory;
|
||||||
|
|
||||||
namespace Syntriax.Engine.Core;
|
namespace Syntriax.Engine.Core;
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerDisplay("GameObject Count: {_gameObjects.Count()}")]
|
[System.Diagnostics.DebuggerDisplay("GameObject Count: {_gameObjects.Count}")]
|
||||||
public class GameManager : IEntity, IEnumerable<IGameObject>
|
public class GameManager : IEntity, IEnumerable<IGameObject>
|
||||||
{
|
{
|
||||||
public Action<GameManager>? OnCameraChanged { get; set; } = null;
|
public Action<GameManager>? OnCameraChanged { get; set; } = null;
|
||||||
|
|
|
@ -6,7 +6,7 @@ using Syntriax.Engine.Core.Abstract;
|
||||||
|
|
||||||
namespace Syntriax.Engine.Physics2D.Primitives;
|
namespace Syntriax.Engine.Physics2D.Primitives;
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerDisplay("Vertices Count: {Vertices.Count()}")]
|
[System.Diagnostics.DebuggerDisplay("Vertices Count: {Vertices.Count}")]
|
||||||
public readonly struct Shape(IList<Vector2D> Vertices) : IEnumerable<Vector2D>
|
public readonly struct Shape(IList<Vector2D> Vertices) : IEnumerable<Vector2D>
|
||||||
{
|
{
|
||||||
public static readonly Shape Triangle = CreateNgon(3, Vector2D.Up);
|
public static readonly Shape Triangle = CreateNgon(3, Vector2D.Up);
|
||||||
|
|
Loading…
Reference in New Issue