static public Galaxia Crear(Generadores.Generador generador) { Galaxia gal = new Galaxia(); gal.generador = generador; gal.Inicializar(); return(gal); }
public Sector(Galaxia galaxia, SectorID sectorID, Faccion faccion) { this.galaxia = galaxia; this.sectorID = sectorID; this.faccion = faccion; tamanio = new Vector2(TamanioSector, TamanioSector); centro = new Vector2(SectorID.X * TamanioSector, SectorID.Y * TamanioSector); CrearEstrellas(); }