refactor: renamed assert helper and moved to Debug subfolder

This commit is contained in:
2025-05-03 15:37:52 +03:00
parent 5de08b8fe4
commit c7aafd85bc
6 changed files with 13 additions and 11 deletions

View File

@@ -113,7 +113,7 @@ public class BehaviourController : BaseEntity, IBehaviourController
protected override void InitializeInternal()
{
Debug.AssertHelpers.AssertUniverseObjectAssigned(this);
Debug.Assert.AssertUniverseObjectAssigned(this);
foreach (IBehaviour behaviour in behaviours)
behaviour.Initialize();
@@ -127,7 +127,7 @@ public class BehaviourController : BaseEntity, IBehaviourController
public void Update()
{
Debug.AssertHelpers.AssertInitialized(this);
Debug.Assert.AssertInitialized(this);
if (!UniverseObject.StateEnable.Enabled || !StateEnable.Enabled)
return;
@@ -138,7 +138,7 @@ public class BehaviourController : BaseEntity, IBehaviourController
public void UpdatePreDraw()
{
Debug.AssertHelpers.AssertInitialized(this);
Debug.Assert.AssertInitialized(this);
if (!UniverseObject.StateEnable.Enabled || !StateEnable.Enabled)
return;