using Unity.Entities;
using Unity.Mathematics;
namespace ProjectM.Simulation
{
///
/// Singleton baked into the gameplay subscene, holding the baked storage-container ghost prefab and
/// the base-grid cell to spawn it at. A one-shot server system instantiates the prefab at
/// BaseGridMath.CellToWorld(anchor, Cell) and then destroys this singleton. Mirrors the
/// UpgradePickupSpawner / PlayerSpawner pattern.
///
public struct StorageSpawner : IComponentData
{
/// Baked storage-container ghost prefab to instantiate.
public Entity Prefab;
/// Base-grid cell at which to place the container (cell center, on the base plane).
public int2 Cell;
}
}