3 map submissions added for testing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user