3 map submissions added for testing

This commit is contained in:
Anuken
2024-10-01 20:00:09 -04:00
parent 13c0e95e6b
commit 4e51d5256c
6 changed files with 49 additions and 2 deletions

View File

@@ -183,6 +183,14 @@ public class UnitFactory extends UnitBlock{
return currentPlan == -1 ? 0 : progress / plans.get(currentPlan).time;
}
@Override
public void created(){
//auto-set to the first plan, it's better than nothing.
if(currentPlan == -1){
currentPlan = plans.indexOf(u -> u.unit.unlockedNow());
}
}
@Override
public Vec2 getCommandPosition(){
return commandPos;