This commit is contained in:
Anuken
2020-02-07 23:12:39 -05:00
parent c8455ddbc8
commit 659bfea8cf
8 changed files with 15 additions and 78 deletions

View File

@@ -58,20 +58,17 @@ public class SpawnGroup implements Serializable{
* This method does not add() the unit.
*/
public Unitc createUnit(Team team){
//TODO
throw new IllegalArgumentException("TODO");
/*
Unitc unit = type.create(team);
if(effect != null){
unit.applyEffect(effect, 999999f);
unit.apply(effect, 999999f);
}
if(items != null){
unit.addItem(items.item, items.amount);
}
return unit;*/
return unit;
}
@Override