Remove BS from ProductionQueue. Move ProductionQueue onto a structure for queue-per-building.

This commit is contained in:
Paul Chote
2010-08-26 21:16:39 +12:00
parent 3b59afcd4f
commit 267d89a459
9 changed files with 209 additions and 158 deletions

View File

@@ -26,8 +26,11 @@ namespace OpenRA.Traits
public class Production
{
public readonly List<Pair<float2, int2>> Spawns = new List<Pair<float2, int2>>();
public ProductionInfo Info;
public Production(ProductionInfo info)
{
Info = info;
if (info.SpawnOffsets == null || info.ExitCells == null)
return;