mirror of
https://github.com/milimoe/FunGame-Testing.git
synced 2026-03-05 22:20:29 +00:00
AIController 使用多线程计算;选择目标前的询问顺序改动
This commit is contained in:
parent
38a938a5a5
commit
ce2b1c7b90
@ -123,7 +123,7 @@ while (true)
|
||||
{
|
||||
FunGameSimulation.IsDebug = true;
|
||||
DateTime start = DateTime.Now;
|
||||
await FunGameSimulation.StartSimulationGame(true, false, true, false, useStore: false, hasMap: false);
|
||||
await FunGameSimulation.StartSimulationGame(true, false, true, false, useStore: false, hasMap: true);
|
||||
DateTime end = DateTime.Now;
|
||||
Console.WriteLine("模拟时长" + (end - start).TotalSeconds + "秒");
|
||||
ConsoleKeyInfo key = Console.ReadKey();
|
||||
@ -133,7 +133,7 @@ while (true)
|
||||
}
|
||||
await Task.Delay(1);
|
||||
start = DateTime.Now;
|
||||
await FunGameSimulation.StartSimulationGame(true, false, false, false, hasMap: false);
|
||||
await FunGameSimulation.StartSimulationGame(true, false, false, false, hasMap: true);
|
||||
end = DateTime.Now;
|
||||
Console.WriteLine("模拟时长" + (end - start).TotalSeconds + "秒");
|
||||
key = Console.ReadKey();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user