BREAKING CHANGE: IEntities are now IInitialize

This commit is contained in:
2023-11-24 17:04:19 +03:00
parent 5a01b01215
commit 251bd948ab
4 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ public class StateEnable : IStateEnable
public bool Assign(IEntity entity)
{
if (_entity is not null) // TODO: Add IInitialize to IAssignable or IEntity maybe?
if (_entity.Initialized)
return false;
_entity = entity;