CLI and Publish Tests
This commit was merged in pull request #63.
This commit is contained in:
@@ -291,6 +291,7 @@ public interface IBuildOrderService
|
||||
|
||||
public void RemoveLast();
|
||||
public void Reset();
|
||||
public void Reset(string faction);
|
||||
|
||||
public int GetLastRequestInterval();
|
||||
public string BuildOrderAsYaml();
|
||||
|
||||
@@ -341,6 +341,13 @@ public class BuildOrderService : IBuildOrderService
|
||||
NotifyDataChanged();
|
||||
}
|
||||
|
||||
public void Reset(string faction)
|
||||
{
|
||||
_lastInterval = 0;
|
||||
_buildOrder.Initialize(faction);
|
||||
NotifyDataChanged();
|
||||
}
|
||||
|
||||
public int? WillMeetTrainingQueue(EntityModel entity)
|
||||
{
|
||||
var supply = entity.Supply();
|
||||
|
||||
Reference in New Issue
Block a user