Пример #1
0
 public void SetOwner(IGameEntity owner)
 {
     _owner = owner;
     owner.AcquireReference();
 }
Пример #2
0
 public void AddEntity(IGameEntity entity)
 {
     entity.AcquireReference();
     _gameEntities.Add(entity);
 }