Exemple #1
0
 public Sprawl(AEmpire empire, Location origin, int startValue)
 {
     TheEmpire  = empire;
     OriginId   = origin.Id;
     StartValue = startValue;
     Q          = new AddressPriorityQueue(empire.Map.Size - 1);
     Backtrace  = new IdIndexedArray <LocationId, LocationId>(empire.Map.Size);
 }
Exemple #2
0
 public Sprawl(AEmpire empire, Location origin, int startValue)
 {
     this.theEmpire  = empire;
     this.originID   = origin.ID;
     this.startValue = startValue;
     Q         = new AddressPriorityQueue(empire.Map.Size - 1);
     backtrace = new ushort[empire.Map.Size];
 }