refactor: made factories static

This commit is contained in:
2025-04-01 12:18:33 +03:00
parent 9f3e39e337
commit 067bc51487
9 changed files with 16 additions and 27 deletions

View File

@@ -86,7 +86,7 @@ public abstract class BaseEntity : IEntity
if (IsInitialized)
return false;
_stateEnable ??= new Factory.StateEnableFactory().Instantiate(this);
_stateEnable ??= Factory.StateEnableFactory.Instantiate(this);
InitializeInternal();