mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Added difficulty modifier for clearing sectors upon loss
This commit is contained in:
parent
72ce49a753
commit
32b9ff9f5d
6 changed files with 17 additions and 5 deletions
|
|
@ -603,13 +603,15 @@ public class ApplicationTests{
|
|||
|
||||
entities.each(Building::updateProximity);
|
||||
|
||||
final int iterations = 100_000;
|
||||
|
||||
//warmup
|
||||
for(int i = 0; i < 100000; i++){
|
||||
for(int i = 0; i < iterations; i++){
|
||||
entities.each(Building::update);
|
||||
}
|
||||
|
||||
Time.mark();
|
||||
for(int i = 0; i < 200000; i++){
|
||||
for(int i = 0; i < iterations*2; i++){
|
||||
entities.each(Building::update);
|
||||
}
|
||||
Log.info(Time.elapsed() + "ms to process " + itemsa[0] + " items");
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public class ModTestAllure extends GenericModTest{
|
|||
|
||||
@Test
|
||||
public void begin(){
|
||||
grabMod("https://github.com/LixieWulf/Allure/archive/4150f74db1ea6058dc090959cf0fe5dc9d239e37.zip");
|
||||
grabMod("https://github.com/LixieWulf/Allure/archive/7dff39df9b07719315a8379a88542fa0fe80fd30.zip");
|
||||
checkExistence("allure");
|
||||
|
||||
UnitType type = Vars.content.unit("allure-0b11-exodus");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue