public void Action(Seleccionable selec) { if (ResourcesRequeridos(selec.jugador)) { if (nombre [0] == "Build Town Center") { Projection projection = MonoBehaviour.Instantiate(projectionGO).GetComponent <Projection> (); projection.building = entity as Building; projection.selec = selec; projection.creative = this; projection.jugador = selec.jugador; selec.ocupado = true; projection.Actualizar(); } else if (nombre [0] == "Create Citizen") { selec.productionQueue.Add(this); selec.interfaz.CreateProductionPanels(); SpendResources(selec); if (selec.productionQueue.Count == 1) { selec.maxProductionAmount = (entity as Token).productionTime; } } } }