public void Init(CellController cellController, int newDefenseRating = 1) { var position = transform.position; _spot = Pools.cells.CreateEntity() .AddPosition(position.x, position.y, position.z) .AddDefenseRating(newDefenseRating) .AddView(gameObject); if (cellController != null) { _spot.ReplaceSpot(cellController.Entity, 0); } else { _spot.RemoveSpot(); } Cell = cellController; }