public void AddBomb(AgentController bomber, Vector3Int position) { if (mapController.CanPlantBomb(position)) { mapController.AddNewObjectToMap(EnviromenentType.PLAYER_BOMB, position); GameObject newBomb = GetBomb(mapController.GetWorldFromCellPos(position)); newBomb.GetComponent <Bomb>().SetConfigs(bomber); items.Add(newBomb); } }