BREAKING CHANGE: IEntities are now IInitialize
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user